ERC1155Burnable
Functionality available for contracts that implement the
ERC1155Enumerable
and
ERC1155Burnable
extensions.
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.
# The token ID to burn NFTs of
token_id = 0
# The amount of the NFT you want to burn
amount = 2
tx_result = contract.erc1155.burn(token_id, amount)