Skip to main content

Erc721.burn() method

Burn a single NFT

Example

const result = await contract.erc721.burn(tokenId);

Signature:

burn(tokenId: BigNumberish): Promise<Omit<{
receipt: import("@ethersproject/abstract-provider").TransactionReceipt;
data: () => Promise<unknown>;
}, "data">>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishthe token Id to burn

Returns:

Promise<Omit<{ receipt: import("@ethersproject/abstract-provider").TransactionReceipt; data: () => Promise<unknown>; }, "data">>