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

status

Parameters

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

FieldTypeDescription
node_infoobjectNode id, network (chain id), and software version
sync_infoobjectLatest block height/hash/time and catching_up flag
validator_infoobjectThis 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

ErrorMessageDescription
-32600 / Invalid requestInvalid requestThe JSON-RPC envelope was malformed
-32602 / Invalid paramsInvalid paramsA parameter was missing or of the wrong type
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect