Status

Get network status

post

Gets the current status of the network including the current block identifier, genesis block identifier, and sync status.

Body
network_identifierobjectoptional

Responses
curl -L \
  --request POST \
  --url 'https://icp-mainnet.icp.validationcloud.io/v1/<YOUR_API_KEY_HERE>/network/status' \
  --header 'Content-Type: application/json' \
  --data '{
    "network_identifier": {
      "blockchain": "Internet Computer",
      "network": "00000000000000020101",
      "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?