Skip to main content

ERC721Burnable

Functionality available for contracts that implement the ERC721 and ERC721Burnable extensions.

Allows you to burn an NFT (transfer it to a null address that is unrecoverable).

burn

Burn an NFT from the connected wallet.

 tx_result =  contract.erc721.burn("{{token_id}}")
Configuration

token_id

The token ID of the NFT to burn.

Must be an int.

 tx_result =  contract.erc721.burn(
// highlight-next-line
"{{token_id}}",
)