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. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).

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. Note that the block height is referred to the stacks blockchain.

Example: 200
Status codeDescription
200Success
/extended/v1/stx_supply

curl -X GET "https://api.mainnet.hiro.so/extended/v1/stx_supply?height=200"

GET request that returns network target block times

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