/network/status

POST https://rosetta.s0.b.hmny.io/network/status

Overview

This endpoint returns the current status of the network.

Reference Rosetta Documentation

Harmony Specific Documentation

Supported Blocks

Only a node running in archival mode can ensure full Rosetta functionality on any block. Nodes running in state-pruned mode (most validators) can only ensure full Rosetta functionality on the last 50-ish synced blocks.

You may see up to what block is supported with the oldest_block_identifier in this response. A node that supports all blocks will not have the oldest_block_identifier in the response.

Block Sync

There are 3 sync stages:

StageDescription
unknownThis usually means that the node is still initializing the syncing service, but it also acts as a default status.
syncing new block(s)This means that the node has found a higher block height (that the majority of connected nodes are at least at), and will sync to said height.
fully syncedThis means that the node is at or past the block height of all the nodes it is connected to.

Peer information

This endpoint returns all of the connected peers along with what p2p topic each peer is connected with. The p2p topics for a peer can be found in the metadata of each Peer object under the topics key. The topics are an array of strings where each string is a topic the node is connected with for the Peer.

Request Body

{"network_identifier"=>{"blockchain"=>"Harmony", "network"=>"Testnet", "sub_network_identifier"=>{"network"=>"shard 0", "metadata"=>{"is_beacon"=>true}}}}

RESPONSES

status: OK

{"current_block_identifier":{"index":2230608,"hash":"0x8350095bca1ff83c1ab7b92af136ebd804493adbaebf04ddd6c8bd67c2a59e63"},"current_block_timestamp":1603984969000,"genesis_block_identifier":{"index":0,"hash":"0xaa0680c6545ca25426023025fd928faae88eb8bc59eb9f5525cc3c0f409925a5"},"sync_status":{"current_index":2230608,"target_index":2230608,"stage":"fully synced"},"peers":[{"peer_id":"Qmefyrh8wNKAqQpKteidz6mWZ1fXviTyAyYWKFKMJZZ1AZ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmcmNAKbZvtEk87FtnjVyAmPwgmfrRdCVp1udvbx1tFrbz","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"Qmb9coQsPKhmQLRMi3AFjRNB49t4Ru4d81bmPx9qAdW22r","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmQQqLpVjxF95qPwnS99DqA5q23v1WXuq9HHqKi1nudmH8","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmaDqhrdjgmhvWrbK5TBZHuQd2LTXSgYD8GRJLbCi7Ee1k","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmW6S3Um9npTFpjdtBtwYEH8mQu8MV4TgGdN4w1dv8abjZ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmeQG4LStdcUp3ba9yR1tVyuxNa72kADrt2mhgSDCJ7hpu","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmWDg8hom6tgPwTTuKNgASYT6tBVPQHkEdpuUgNpDNQuSN","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmUPqT8A3xhQEmbdBmYhbbd8cgVtrpLv1hx8zmYLHoki1f","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmSkkwKVUeUWbqckxfDMr9Zb9y1gdGquxvBc1bnjG8xjAJ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmVNF5SHiXiTg2ViCzqFBD94WZE7vNjLpyVKBTfDtRihrA","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"Qmd3JKCEYdiSWn65TxGztZ26D1MFNbiFFeEnjKXarUFW3H","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmNZfGLiArunBCwhjhe34bTznmMrj32pZBDPNtqv43L84Z","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"Qmb79RMt6mQTU2ocCG8dLX8YL5LUQj2PdZgjivtus7JWcn","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmbeRbjiNG4w5A7Tqnz1xRCqY5VMVQcs4Wf6HGJ1LaNPPZ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmS9L5u6fVoh53mBrQQUATCQbeJcrg8VANM4fbWDeumuNQ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"Qmc9fFruuwo6Kx1c2SksDXiFsm4NqBa2kuS7QzqPvGVbfQ","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmRjGgsjdsfqwXcfoq86cMFxyfjHKSQBPJTbwjbBbb5XDM","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmTvULbY5CUTARPBPymtDDmMHJJrYoeDJPjv7tzckqJ7G3","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmbnVd1g9vEqe2euCoGeyX9ngiL6zXM97J5fnbDmUfXNub","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmU9AdDM88LsT2pUYkhkpCddSzvZZsceYUkKzdsg4tVmP5","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmNeSxQ9r4AiXfSguTTxBUU1ZsvGcSJF9wGRGpUxe9XWUY","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmYCV1MDtVKp4LPquzTWncLyXaR31fkWrYoSKVHPmtNCMP","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmTTy7yRydG9UuetdBJhBJaEBhCQUmaP1tTH2LsdfgGzdp","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon","hmy/testnet/0.0.1/node/beacon"]}},{"peer_id":"QmQQFs81bT4TEZUh8K1mZsbyF1e3m3GWw5mzaKf2QzwmhK","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}},{"peer_id":"QmaUf2Ej1dHPjcf42pbGepA1HFPVWLSnGbiFRvtrdyYfSM","metadata":{"topics":["hmy/testnet/0.0.1/client/beacon"]}}]}