ERC721Burnable
Functionality available for contracts that implement the
IERC721
and
IBurnableERC721
interfaces.
Allows you to burn an NFT (transfer it to a null address that is unrecoverable).
burn
Burn an NFT from the connected wallet.
const txResult = await contract.erc721.burn("{{token_id}}");
Configuration
tokenId
The token ID of the NFT to burn.
Must be a string
, number
, or BigNumber
.
const txResult = await contract.erc721.burn(
"{{token_id}}",
);