Skip to main content

/v2/info REST API Endpoint

Retrieves information about the Core API including the server version.

Updated on
Oct 4, 2023

/v2/info REST API Endpoint

Parameters

This method does not accept any parameters

Returns

object
GET request that core node information
peer_version
integer
Identifies the version number for the networking communication. This should not change while a node is running, and will only change if there's an upgrade.
pox_consensus
string
A hash used to identify the burnchain view for a node. It incorporates Bitcoin chain information and PoX information. Nodes that disagree on this value will appear to each other as forks. This value will change after every block.
burn_block_height
integer
The latest Bitcoin chain height.
stable_pox_consensus
string
Same as 'pox_consensus,' but evaluated at stable_burn_block_height.
stable_burn_block_height
integer
Leftover from Stacks 1.0, basically always 'burn_block_height - 1.'
server_version
string
A version descriptor.
network_id
integer
Similar to 'peer_version' and will be used to differentiate between different testnets. This value will be different between mainnet and testnet. Once launched, this value will not change.
parent_network_id
integer
Same as 'network_id,' but for Bitcoin.
stacks_tip_height
integer
The latest Stacks chain height. Stacks forks can occur independent of the Bitcoin chain, and that height doesn't increase 1-to-1 with the Bitcoin height.
stacks_tip
string
The best known block hash for the Stacks chain (not including any pending microblocks).
stacks_tip_consensus_hash
string
The burn chain (i.e., Bitcoin) consensus hash at the time that 'stacks_tip' was mined.
unanchored_tip
string
The latest microblock hash if any microblocks were processed. If no microblock has been processed for the current block, a '000...' hex array is returned.
exit_at_block_height
integer
The block height at which the testnet network will be reset. Not applicable for mainnet.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/v2/info' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free