Token.burn() method
Burn Tokens
Example
// The amount of this token you want to burn
const amount = 1.2;
await contract.burnTokens(amount);
Signature:
burn(amount: Amount): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
amount | Amount |
Returns:
Promise<TransactionResult>
Remarks
Burn tokens held by the connected wallet