Status
Gets the current status of the network including the current block identifier, genesis block identifier, and sync status.
Body
Responses
200
Network status response
application/json
500
Internal server error
post
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"
}
}
}
}
{
"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?