Status

Get network status

post

Gets the current status of the network (ICRC-1 ledger), including the current block identifier, genesis block identifier, and sync status.

Body
Responses
200
Network status response
application/json
post
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"
      }
    }
  }
}
{
  "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"
      }
    }
  ]
}

Was this helpful?