Skip to main content

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

ParameterTypeDescription
amountAmount

Returns:

Promise<TransactionResult>

Remarks

Burn tokens held by the connected wallet