Was this helpful?
Gets the current status of the network (ICRC-1 ledger), including the current block identifier, genesis block identifier, and sync status.
POST /v1/<YOUR_API_KEY_HERE>/network/status HTTP/1.1 Host: icrc-mainnet.icp.validationcloud.io Content-Type: application/json Accept: */* Content-Length: 191 { "network_identifier": { "blockchain": "Internet Computer", "network": "mxzaz-hqaaa-aaaar-qaada-cai", "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" } } ] }