Status

Returns current status of the node

Parameters

None

Returns

Data about the current status of the node

Example

//Request
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"status","params":[],"id":"dontcare"}' http://<your_app_id>.ankr.com
//Response
{
"id": "dontcare",
"jsonrpc": "2.0",
"result": {
"chain_id": "testnet",
"latest_protocol_version": 22,
"protocol_version": 22,
"rpc_addr": "0.0.0.0:3030",
"sync_info": {
"latest_block_hash": "4YmLepUy4unqpAFHuHNHygbsZVjuTBUpQnM7sac4VhNF",
"latest_block_height": 7532496,
"latest_block_time": "2020-06-24T09:14:21.557171085Z",
"latest_state_root": "F7gRAbhWnsb22gVq4p2qcu1YqFFto5kB256EyEfrU8GZ",
"syncing": false
},
"validators": [
{
"account_id": "bisontrails.stakingpool",
"is_slashed": false
},
{
"account_id": "node3",
"is_slashed": false
},
{
"account_id": "certusone.stakingpool",
"is_slashed": false
},
{
"account_id": "node2",
"is_slashed": false
},
{
"account_id": "cryptium.stakingpool",
"is_slashed": false
},
{
"account_id": "pool_dokiacapital.stakingpool",
"is_slashed": false
}
],
"version": {
"build": "ebe21b33",
"version": "1.0.0"
}
}
}