Info
Read-only endpoints to obtain network, Proof-of-Transfer, Stacking, STX token, and node information
Retrieves the running status of the Stacks Blockchain API, including the server version and current chain tip information.
GET /extended HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"server_version": "text",
"status": "text",
"pox_v1_unlock_height": 1,
"pox_v2_unlock_height": 1,
"pox_v3_unlock_height": 1,
"chain_tip": {
"block_height": 1,
"block_hash": "text",
"index_block_hash": "text",
"microblock_hash": "text",
"microblock_sequence": 1,
"burn_block_height": 1
}
}
Retrieves the total and unlocked STX supply. More information on Stacking can be found [here] (https://docs.stacks.co/understand-stacks/stacking).
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.
777678
Include data from unanchored (i.e. unconfirmed) microblocks
false
Example: true
GET /extended/v1/stx_supply/ HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"unlocked_percent": "text",
"total_stx": "text",
"total_stx_year_2050": "text",
"unlocked_stx": "text",
"block_height": 1
}
Retrieves the target block times for mainnet and testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.
GET /extended/v1/info/network_block_times HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"mainnet": {
"target_block_time": 1
},
"testnet": {
"target_block_time": 1
}
}
Retrieves the target block time for a given network. The network can be mainnet or testnet. The block time is hardcoded and will change throughout the implementation phases of the testnet.
GET /extended/v1/info/network_block_time/{network} HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"target_block_time": 1
}