typescript-sdk

Home > @3rdweb/sdk > TokenModule > burn

TokenModule.burn() method

Burn Tokens

Signature:

burn(amount: BigNumberish): Promise<TransactionReceipt>;

Parameters

Parameter Type Description
amount BigNumberish  

Returns:

Promise<TransactionReceipt>

Remarks

Burn tokens held by the connected wallet

Example

// The amount of this token you want to burn
const amount = 100;

await module.burn(amount);