Melt Tokens
Melting tokens removes them from the circulating supply. Melting can only be carried out if the foundry is included in the transaction.
Example Transaction
Transaction C assumes that the token issuer is in control of mintAddress where the to-be melted tokens are locked. This transaction will melt 250 of the foundry's tokens:
- Melted Tokens of Foundry Output #3 is increased by the amount of melted tokens, 250.
- Basic Output #3 now has 250 tokens remaining. The input side of the transaction contains 500 tokens, but the output side only 250. By increasing Melted Tokens on Foundry Output #3 the transaction becomes balanced.
- Looking at Foundry Output #3 you can determine that the circulating supply of the token is Minted Tokens - Melted Tokens = 750.
- In a subsequent transaction you could mint 250 tokens to reach Maximum Supply again.
Related Tutorials
- iota.js
Related How-to Guides
- wallet.rs
Related Code Examples
- iota.js
* [Native Token Tour](https://github.com/iotaledger/iota.js/blob/feat/stardust/packages/iota/examples/native-token-tour/src/index.ts)