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