Skip to main content

TokenDrop.burnFrom() method

Burn Tokens

Example

// 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.burnFrom(holderAddress, amount);

Signature:

burnFrom(holder: string, amount: Amount): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
holderstring
amountAmount

Returns:

Promise<TransactionResult>

Remarks

Burn tokens held by the specified wallet