Minting and burning
Last updated
Was this helpful?
Last updated
Was this helpful?
On version 1 of the NFT contracts, metadata definition and minting happen in a single step:
On version 2 of the NFT contracts, metadata definition and minting are separated. This allows for more scalability when minting a high number of tokens by eliminating redundant storage deposits, and it comes with an array of configurability around the mint.
(available to creators registered with the smart contract)
(available to anyone or predefined minters)
To burn tokens, you can use the nft_batch_burn
method:
This will remove the token from the on-chain storage! This means you can no longer use methods such as nft_token
with this token ID, but storage requirements are being decreased by burning. To verify your identity, you are required to attach one yoctoNEAR to the method call.