useExecuteAuctionSale
Hook for executing a sale of an auction listing on a Marketplace
contract.
Triggers a new sale, transferring the NFT(s) to the buyer and the funds to the seller.
A sale must be executed when an auction ends, and the auction has a winning bid that was below the buyout price. This means the auction has finished, and the highest bidder has won the auction. Any wallet can now execute the sale, transferring the NFT(s) to the buyer and the funds to the seller.
Mutation object to accept an offer on a direct listing
The mutation function accepts an object as argument with the following properties:
The ID of the auction listing to execute the sale on. If the listing cannot be found, is not an auction, or is not ready to be executed, the error
property will be set.