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 specified block height. If the block height is not specified, the latest block height is taken as default value.

Example: 200
Status codeDescription
200Success
curl
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"
}

Last updated on