Skip to content

Instantly share code, notes, and snippets.

@agraebe
Last active December 25, 2021 06:05
Show Gist options
  • Save agraebe/f02be1ce4a7a2d50b72afe9b08428436 to your computer and use it in GitHub Desktop.
Save agraebe/f02be1ce4a7a2d50b72afe9b08428436 to your computer and use it in GitHub Desktop.
v2/info endpoint documentation
{
  "peer_version": 385875968,
  "pox_consensus": "17f76e597bab45646956f38dd39573085d72cbc0",
  "burn_block_height": 16,
  "stable_pox_consensus": "8e0561978fc5506b68a589c402dad97e862edb59",
  "stable_burn_block_height": 15,
  "server_version": "blockstack-core 0.0.1 => 23.0.0.0 (, release build, linux [x86_64])",
  "network_id": 2147483648,
  "parent_network_id": 3669344250,
  "stacks_tip_height": 15,
  "stacks_tip": "b1807a2d3f7f8c7922f7c1d60d7c34145ade05d789640dc7dc9ec1021e07bb54",
  "stacks_tip_consensus_hash": "17f76e597bab45646956f38dd39573085d72cbc0",
  "unanchored_tip": "0000000000000000000000000000000000000000000000000000000000000000",
  "exit_at_block_height": null
}
Field Type Description Sample
peer_version int 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 385875968
pox_consensus string is 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 "a186ed6e649ddc85b250f74ba1f1b77375ebaa60"
burn_block_height int latest bitcoin chain height 6646
stable_pox_consensus string same as burn_consensus, but evaluated at stable_burn_block_height "49af83220614f29eb1946a533b8392bf1f4f3dce"
stable_burn_block_height int leftover from stacks 1.0, basically always burn_block_height - 1 6645
server_version string is a version descriptor "blockstack-core 0.0.1 => 23.0.0.0 (master:683682f2e+, release build, linux [x86_64])"
network_id int is 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 2147483648
parent_network_id int same as network_id, but for bitcoin 3669344250
stacks_tip_height int the latest Stacks chain height. Stacks forks can occur independent of the Bitcoin chain, that height doesn't increase 1-to-1 with the Bitcoin height 3334
stacks_tip string the best known block hash for the Stack chain (not including any pending microblocks) "b1807a2d3f7f8c7922f7c1d60d7c34145ade05d789640dc7dc9ec1021e07bb54"
stacks_tip_consensus_hash string the burn chain (i.e., bitcoin) consensus hash at the time that stacks_tip was mined "17f76e597bab45646956f38dd39573085d72cbc0"
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 "0000000000000000000000000000000000000000000000000000000000000000"
exit_at_block_height int the block height at which the testnet network will be reset. not applicable for mainnet 20460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment