Private
contractPrivate
erc20Rest
...args: [holder: string, amount: string | number]Burn tokens held by the specified wallet
// Address of the wallet sending the tokens
const holderAddress = "{{wallet_address}}";
// The amount of this token you want to burn
const amount = 1.2;
await contract.token.burn.from(holderAddress, amount);
Rest
...args: [holder: string, amount: string | number]Burn Tokens
Rest
...args: [amount: string | number]Burn tokens held by the connected wallet
// The amount of this token you want to burn
const amount = 1.2;
await contract.token.burn.tokens(amount);
Rest
...args: [amount: string | number]Generated using TypeDoc
Burn Tokens