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
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish | the token Id to burn |
Returns:
Promise<Omit<{ receipt: import("@ethersproject/abstract-provider").TransactionReceipt; data: () => Promise<unknown>; }, "data">>