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

Retrieves total supply of STX tokens including those currently in circulation that have been unlocked.

Note: this uses the estimated future total supply for the year 2050.

Query parameters

heightnumber

Supply details are queried from a specified block height. If the block height is not specified, the latest block height is taken as the default value.

Example: 200
Status codeDescription
200Success
Terminal
curl -X GET "https://api.mainnet.hiro.so/extended/v1/stx_supply/legacy_format"

GET request that returns network target block times

Example response
{
  "unlockedPercent": "string",
  "totalStacks": "string",
  "totalStacksFormatted": "string",
  "unlockedSupply": "string",
  "unlockedSupplyFormatted": "string",
  "blockHeight": "string"
}