Hook for placing an offer on a
Marketplace direct listing.
Mutation object to make a bid on an auction listing
The mutation function takes an object as an argument with the following properties:
The ID of the listing to make an offer on.
If the listing cannot be found, is not a direct listing, or is not active, the
error property will be set.
The price to offer per token.
For ERC1155, this is the price to offer per quantity of the NFT (see
For ERC721, this is the price to offer to buy the NFT.
Used for ERC1155 NFTs, where multiple quantity of the same NFT can be bought at once.
This field works with the
pricePerToken field to calculate the total price of the offer.
For example, if you want to buy 5 NFTs at a price of 1 ETH each, you would set
5 , for a total of
5 ETH as the offer.
For ERC721 NFTs, this value is ignored and
1 is used instead.
The default value is