Home > @3rdweb/sdk > NFTModule > burn
Burn NFT
Signature:
burn(tokenId: BigNumberish): Promise<TransactionReceipt>;
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish |
Returns:
Promise<TransactionReceipt>
Burn an NFT, permanently taking it out of circulation and reducing the supply.
// The token ID of the NFT you want to burn
const tokenId = 0;
await module.burn(tokenId);