GetSupply - Algorand
Get the current supply reported by the ledger.
Endpoint
httpGET /v2/ledger/supplyExample
bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
curl "${ALGO_ALGOD}v2/ledger/supply"Response
Returns application/json. Top-level fields:
| Field | Type | Description |
|---|---|---|
| current_round | integer | Round |
| online-money | integer | Total stake held by accounts with status Online at current_round, including those whose participation keys have expired but have not yet been marked offline. |
| online-stake | integer | Online stake used by agreement to vote for current_round, excluding accounts whose participation keys have expired. |
| total-money | integer | TotalMoney |
Error Handling
| Error | Message | Description |
|---|---|---|
| 400 | Bad request | A parameter was missing or malformed |
| 404 | Not found | The requested resource does not exist |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |