Edition.burnTokens() method
Burn a specified amount of a NFT
Example
const result = await contract.burnTokens(tokenId, amount);
Signature:
burnTokens(tokenId: BigNumberish, amount: BigNumberish): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish | the token Id to burn |
amount | BigNumberish | amount to burn |
Returns:
Promise<TransactionResult>