Burning permanently destroys tokens from the issuer wallet. When called, tokens are automatically removed from circulation and the network state.
Burn
await wallet.burnTokens(BigInt(5_000_000000)); // 5,000 tokens (6 decimals)
Burning is irreversible. Burned tokens are gone forever.
When to Burn
Common use cases:
- Stablecoin redemption: user redeems tokens for fiat, you burn the equivalent
- Deflationary mechanics: periodic burns to reduce supply
- Token buyback: repurchase tokens from the market and burn them
Verify the Burn
const before = await wallet.getIssuerTokenBalance();
console.log("Before:", before.balance);
await wallet.burnTokens(BigInt(1000_000000));
const after = await wallet.getIssuerTokenBalance();
console.log("After:", after.balance);
Proof-of-Burn Address
Anyone can also burn tokens by sending them to the network’s proof-of-burn address:
spark1pgssyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpqyqszykl0d2
Tokens sent to this address are permanently removed from circulation and cannot be recovered.