useBurnNFT
Hook for burning a NFT on a smart contract.
Available to use on smart contracts that implement the ERC721
or ERC1155
standard.
Mutation object that to burn an NFT token from the connected wallet
options
The mutation function takes an object with the following properties:
tokenId
The token ID of the NFT you want to burn.
amount (optional)
When using ERC1155 NFTs, you can specify the quantity you want to burn.
Defaults value is 1