Skip to main content

Setup

Import the SDK and create a wallet:

Reissue

Reissuing creates additional units of an existing asset. This requires the asset to have been issued with a control asset, and you must hold that control asset in your wallet.
After reissuance, the total supply is the sum of all issued amounts (800 in this example). The SDK looks up the control asset from the asset ID. If the asset has no control asset, reissue throws an error.
The control asset remains in your wallet after reissuance. You can reissue as many times as needed while you hold it.

Burn

Burning permanently destroys units of an asset. You can burn a partial amount or the full balance.

Partial Burn

After burning 400 units from a supply of 1000, the wallet holds 600 remaining units.

Complete Burn

Burn the entire spendable balance of an asset. availableAssets lists the units your wallet can spend:
Burning the control asset permanently disables reissuance for all assets it controls. This action is irreversible.

Next Steps

Verify Metadata

Read the supply and control asset of an asset

Check Balances

See how many units remain in your wallet