Get total and unlocked STX supply (legacy)
Retrieves the total and unlocked STX supply in legacy format 1.0 API.
GET
/extended/v1/stx_supply/legacy_format
Get total and unlocked STX supply (results formatted the same as the legacy 1.0 API)
Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.
This uses the estimated future total supply for the year 2050.
Query Parameters
height
number
Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value.
Example:200
Status code | Description |
---|---|
| Success |
Terminal
$curl -X GET "https://api.hiro.so/extended/v1/stx_supply/legacy_format?height=200"
GET request that returns network target block times
{"unlockedPercent": "string","totalStacks": "string","totalStacksFormatted": "string","unlockedSupply": "string","unlockedSupplyFormatted": "string","blockHeight": "string"}