Skip to content

Please Remember...

This is a fictional example and not real documentation. The purpose is to demonstrate my technical writing.


2. transfer | token lifecycle (explanation)


This section is part of the Token Lifecycle in Practice.

Imagine you are working with a UK government bond or a derivatives contract. In the sections that follow, we walk through the token lifecycle and show how each stage maps to a specific API call. Follow the Code Example links for a step-by-step code walkthrough for each API method.


3. Burning

Section Details
What happens A token is destroyed when the underlying asset is redeemed, matured, or cancelled. This signals the end of the asset’s lifecycle on-chain.
Real-world analogy A bond matures and is paid back to the holder, the position is closed, and the record is archived.
API POST /api/tokens/burn
Code Example How to Burn Tokens

Example JSON Payload:

{
  "asset_id": "UKGILT2030",
  "amount": 100,
  "holder_wallet_address": "0xDEF456..."
}

What comes next?