status - Cosmos
Returns node information: protocol and software version, network (chain id), latest block hash, app hash, block height and time, and the node's validator info and sync state.
Method
statusParameters
This method takes no parameters.
Example
bashexport COSMOS_TM=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
# JSON-RPC over HTTP (POST)
curl -X POST "${COSMOS_TM}" -H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "id": "getblock.io", "method": "status", "params": {}}'
# URI over HTTP (GET)
curl "${COSMOS_TM}status"Response
json{
"jsonrpc": "2.0",
"id": "getblock.io",
"result": {
"node_info": {
"network": "cosmoshub-4",
"version": "0.38.19",
"moniker": "cosmos-node"
},
"sync_info": {
"latest_block_height": "31378844",
"latest_block_time": "2026-06-01T10:31:22Z",
"catching_up": false
},
"validator_info": {
"address": "8BFAB70E...",
"voting_power": "0"
}
}
}Response Fields
| Field | Type | Description |
|---|---|---|
| node_info | object | Node id, network (chain id), and software version |
| sync_info | object | Latest block height/hash/time and catching_up flag |
| validator_info | object | This node's validator address and voting power |
Use Cases
- Sync tracking: Read latest_block_height and catching_up
- Chain identity: Confirm node_info.network is cosmoshub-4 before broadcasting
Error Handling
| Error | Message | Description |
|---|---|---|
| -32600 / Invalid request | Invalid request | The JSON-RPC envelope was malformed |
| -32602 / Invalid params | Invalid params | A parameter was missing or of the wrong type |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |