Get total and unlocked STX supply

Retrieves the total and unlocked STX supply.

GET
/extended/v1/stx_supply

Get total and unlocked STX supply

Retrieves the total and unlocked STX supply.

Query Parameters

heightBlock height

Supply details are queried from specified block height. If the block height is not specified, the latest block height is taken as default value. Note that the block height is referred to the stacks blockchain.

Minimum: 0

unanchoredboolean

Include data from unanchored (i.e. unconfirmed) microblocks

Default: false
Status codeDescription
200GET request that returns total and unlocked STX supply
/extended/v1/stx_supply/

curl -X GET "https://api.hiro.so/extended/v1/stx_supply/?height=0&unanchored=false"

GET request that returns network target block times

{
  "unlocked_percent": "string",
  "total_stx": "string",
  "total_stx_year_2050": "string",
  "unlocked_stx": "string",
  "block_height": 0
}