GET /supply/
Returns the total minted, burned, and circulating supply for an asset. Individual account balances are not exposed. Supply totals are the only publicly queryable financial quantity in the protocol.Response
| Field | Description |
|---|---|
total_minted | Sum of all TxTypeMint amounts for this asset |
total_burned | Sum of all TxTypeBurn amounts for this asset |
total_supply | total_minted - total_burned; invariant enforced by state |
updated_at | Unix timestamp of the last Mint or Burn |
Invariant
TxTypeMint and TxTypeBurn. A burn that would take
total_supply below zero is rejected with a 422 error.
GET /assets
Returns all registered assets.Admin: POST /assets
Register a new asset type. Requires operator JWT.asset_id is immutable after registration. Choose a short, stable identifier.
Admin: POST /mint
Mint new supply to an account. Requires operator JWT.total_minted by amount and credits account_commitment with amount.
Admin: POST /burn
Burn supply from an account. Requires operator JWT.total_burned by amount and debits account_commitment by amount.
Returns 422 if the account balance is insufficient.