Was this helpful?
Gets the current status of the network including the current block identifier, genesis block identifier, and sync status.
POST /v1/<YOUR_API_KEY_HERE>/network/status HTTP/1.1 Host: icp-mainnet.icp.validationcloud.io Content-Type: application/json Accept: */* Content-Length: 184 { "network_identifier": { "blockchain": "Internet Computer", "network": "00000000000000020101", "sub_network_identifier": { "network": "text", "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } } } }
Network status response
{ "current_block_identifier": { "index": 1, "hash": "text" }, "current_block_timestamp": 1, "genesis_block_identifier": { "index": 1, "hash": "text" }, "peers": [ { "peer_id": "text", "metadata": { "ANY_ADDITIONAL_PROPERTY": "anything" } } ] }