Skip to main content
Burns existing tokens to reduce the circulating supply for the IssuerSparkWallet.

Method Signature

async function burnTokens(tokenAmount: bigint): Promise<string>;

Parameters

tokenAmount
bigint
required
The amount to burn (eg: 1000n)

Returns

txId
string
required
Transaction ID

Example

const txId = await issuerWallet.burnTokens(1000n);
console.log("Tokens burned:", txId);