Bearer token in the Authorization header:
Admin
Write operations against the ledger. Both endpoints accept an idempotentcommand_id — repeating the same command_id won’t submit twice.
POST /api/admin/mint
Mint new units of an instrument to a recipient party.
Client-supplied idempotency key for the ledger submit.
Instrument to mint.
Recipient party id.
Amount to mint. Accepts a number or a decimal string.
POST /api/admin/burn
Burn units of an instrument held by a party.
Client- or system-assigned id for the ledger submit.
Instrument to burn.
Party whose tokens will be burned (holder or subject).
Amount to burn.
200 OK
Data
Read-only queries against the confirmed history captured by the token monitor. All endpoints support pagination vialimit and offset query parameters and optional filtering by party_id and instrument_id.
GET /data/admin/mints
List confirmed mint records.
Filter by recipient party id.
Filter by instrument id.
Page size. Range: 1–1000.
Pagination offset (≥0).
200 OK
GET /data/admin/burns
List confirmed burn records. Same query parameters as /data/admin/mints.
200 OK
GET /data/admin/holdings
Return a snapshot of on-ledger holdings from the latest monitor scan.
Filter by owner party id.
Filter by instrument id.
Page size. Range: 1–100000.
Pagination offset (≥0).
200 OK
locked flag is true when a non-expired lock blocks spending (for example, an in-flight transfer).
Status
GET /status
Return the latest cached snapshot from the token-monitor loop (no live ledger query). Includes per-token stats (supply, holders, concentration, module-specific fields) and monitor/queue operational stats.
Each section carries the time it was last refreshed; updated_at is the overall freshness. Fields that don’t apply to a token — or aren’t available yet — are omitted. The snapshot is only populated while monitoring is enabled; otherwise tokens is empty.
200 OK
| Field | Description |
|---|---|
total_supply | Total amount in circulation across all active holdings (spendable + locked), summed from the latest on-ledger scan. |
total_locked_supply | Portion of total_supply currently locked (e.g. in-flight transfer) and not spendable. |
unique_holders | Number of distinct owner parties holding at least one active holding. |
top_holder_share | Fraction of total_supply held by the single largest holder (0–1). |
supply_concentration_hhi | Herfindahl–Hirschman Index of supply across holders. 1.0 = one holder owns everything; ~1/unique_holders = evenly distributed. |
Health and metrics
Unauthenticated operational endpoints for orchestration and monitoring.GET /healthz
Liveness probe. Returns 200 OK when the service is up.
cURL
GET /metrics
Returns service metrics in JSON.
cURL
Error responses
Validation errors are returned as422 Unprocessable Entity:
