metaplex-foundation / js

A JavaScript SDK for interacting with Metaplex's programs
356 stars 182 forks source link

MetaplexError: AuctionHouse > Auctioneer Authority Required #357

Open samia-invozone opened 1 year ago

samia-invozone commented 1 year ago

After running the delegate instructions of the Auctioneer Program, My previous code for fetching the AH details is no more working. It says Auctioneer Authority is also required but when I pass the authority parameter it gives an error. Below is the code for fetching auction house details: const auctionHouseObj = await metaplex .auctionHouse() .findByAddress({ address: new PublicKey("6d2ipuim1xY76ob4rHmP9Tt4jYCesPUfQCbPPGKa36s"), auctioneerAuthority: new PublicKey(auctionHouseAuthority), });

And getting following error:

MetaplexError: AuctionHouse > Auctioneer Authority Required

lorisleiva commented 1 year ago

The Auctioneer part of the Auction House module is not working properly yet I'm afraid. This is part of the reason why it's not documented yet.