status - Cosmos

status. Get real-time information about the Cosmos blockchain node

status - Cosmos [Value: 20CU]
Retrieves real-time information about the Cosmos blockchain node
Use cases

Use cases

  • Retrieve node status and sync information
  • Check validator status and voting power
  • Monitor node network and software version
Constraints

Constraints

  • Node status may change rapidly
  • Network issues could delay or alter response
  • Limited detail on synchronization progress
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --location 'https://cosmos-hub.drpc.org' \
--header 'Content-Type: application/json' \
--data '{
      "jsonrpc": "2.0",
      "method": "status",
      "params": [],
      "id": 1
    }'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "result": {
    "node_info": {
      "id": "node_id",
      "network": "cosmoshub-4",
      "version": "v0.34.13",
      "moniker": "node_name",
      "other": {
        "tx_index": "on",
        "rpc_address": "tcp://0.0.0.0:26657"
      }
    },
    "sync_info": {
      "latest_block_hash": "0x1234567890ABCDEF...",
      "latest_app_hash": "0xABCDEF1234567890...",
      "latest_block_height": "20431584",
      "latest_block_time": "2022-10-12T10:55:50.385Z",
      "catching_up": false
    },
    "validator_info": {
      "address": "cosmosvaloper1...",
      "pub_key": "PubKeyEd25519{...",
      "voting_power": "100"
    }
  },
  "id": 1
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
Containing comprehensive details about the node's curre

Response params

object
idinteger
jsonrpcstring
resultobject
object
node_infoobject
Information about the node, including its protocol versions, network details, and other identifiers.
object
protocol_versionobject
The protocol versions used by the node for peer-to-peer communication, block processing, and application interaction.
object
p2pstring
The version of the peer-to-peer protocol.
blockstring
The version of the block processing protocol.
appstring
The version of the application protocol.
idstring
The unique identifier assigned to the node.
listen_addrstring
The address at which the node is listening for connections.
networkstring
The identifier of the network that the node is connected to.
versionstring
The version of the Tendermint software the node is running.
channelsstring
The communication channels on which the node is active.
monikerstring
The name or alias assigned to the node.
otherobject
Miscellaneous information about the node, such as transaction indexing and RPC server details.
object
tx_indexstring
Indicates whether transaction indexing is enabled.
rpc_addressstring
The address of the node's RPC server.
application_infoobject
Information about the application running on the node, including version details.
object
versionstring
The version of the application running on the node.
sync_infoobject
Details about the node's synchronization status, including block heights, hashes, and sync progress.
object
latest_block_hashstring
The hash of the latest block the node has processed.
latest_app_hashstring
The application state hash of the latest block.
latest_block_heightstring
The height of the latest block the node has processed.
latest_block_timestring
The timestamp of the latest block the node has processed.
earliest_block_hashstring
The hash of the earliest block the node has processed.
earliest_app_hashstring
The application state hash of the earliest block.
earliest_block_heightstring
The height of the earliest block the node has processed.
earliest_block_timestring
The timestamp of the earliest block the node has processed.
max_peer_block_heightstring
The maximum block height observed among all peers connected to the node.
catching_upboolean
Indicates whether the node is currently syncing and catching up to the latest block height.
total_synced_timestring
The total time the node has spent synchronizing with the blockchain.
remaining_timestring
The estimated remaining time to complete synchronization.
total_snapshotsinteger
The total number of snapshots the node has processed.
chunk_process_avg_timestring
The average time taken to process a snapshot chunk.
snapshot_heightstring
The block height at which the latest snapshot was taken.
snapshot_chunks_countinteger
The count of chunks in the current snapshot.
snapshot_chunks_totalinteger
The total number of chunks in the snapshot.
backfilled_blocksinteger
The number of blocks that have been backfilled during sync.
backfill_blocks_totalinteger
The total number of blocks that need to be backfilled.
validator_infoobject
Details about the node's role as a validator, including its address, public key, and voting power.
object
addressstring
The address of the node in its role as a validator.
pub_keyobject
The public key associated with the node's validator role.
object
typestring
The type of the public key.
valuestring
The value of the public key.
voting_powerstring
The voting power assigned to the validator node.