Skip to main content

Erc721Burnable.token() method

Burn NFTs

Example

// The token ID of the NFT you want to burn
const tokenId = 0;

await contract.nft.burn.token(tokenId);

Signature:

token(tokenId: BigNumberish): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
tokenIdBigNumberish

Returns:

Promise<TransactionResult>

Remarks

Burn NFTs held by the connected wallet