NFTCollection.burn() method
Burn a single NFT
Example
const result = await contract.burnToken(tokenId);
Signature:
burn(tokenId: BigNumberish): Promise<TransactionResult>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| tokenId | BigNumberish | the token Id to burn |
Returns:
Promise<TransactionResult>