node info - Cosmos

Returns the node's information and the application's version details via the Cosmos base tendermint service.

Endpoint

httpGET /cosmos/base/tendermint/v1beta1/node_info

Example

bashexport COSMOS_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${COSMOS_REST}cosmos/base/tendermint/v1beta1/node_info"

Response

json{
    "default_node_info": {
        "network": "cosmoshub-4",
        "moniker": "cosmos-node",
        "version": "0.38.19"
    },
    "application_version": {
        "name": "gaia",
        "version": "29.0.0",
        "cosmos_sdk_version": "v0.50.x"
    }
}

Response Fields

FieldTypeDescription
default_node_infoobjectNode network (chain id), moniker, and CometBFT version
application_versionobjectThe gaia application name, version, and Cosmos SDK version

Use Cases

  • Version discovery: Read the gaia and SDK versions the node runs
  • Chain identity: Confirm the network is cosmoshub-4

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, validator, proposal, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect