Skip to main content

ERC1155Burnable

Functionality available for contracts that implement the IERC1155Enumerable and IBurnableERC1155 interfaces.

Allows you to burn NFTs (transfer them to a null address) to take them out of circulation.

Burn

Burn the specified NFTs from the connected wallet.

var data = await contract.ERC1155.Burn("{{token_id}}", 1);
Configuration

tokenId

The token ID of the NFT(s) you want to burn.

Must be a string.

amount

The amount of the NFT you want to burn of the specified token ID.

Must be an int.