metaplex-foundation / js

A JavaScript SDK for interacting with Metaplex's programs
361 stars 185 forks source link

MetaplexError: AuctionHouse > Auctioneer Authority Required #357

Open samia-invozone opened 2 years ago

samia-invozone commented 2 years 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 2 years 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.