For the complete documentation index, see llms.txt. This page is also available as Markdown.

abci_info - Cosmos

Example code for the abci_info JSON-RPC method. Complete guide on how to use abci_info JSON-RPC in GetBlock Web3 documentation.

Returns information about the ABCI application running on this node — the application name, version, and current app state hash. For Cosmos Hub, this returns gaia-specific info.

Parameters

  • None

Request Example

# JSON-RPC over HTTP POST (canonical)
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
    "jsonrpc": "2.0",
    "method": "abci_info",
    "params": [],
    "id": "getblock.io"
}'

# URI over HTTP GET (alternate, for simple methods)
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/abci_info'

Response Example

Response Parameters

Field
Type
Description

result.response.data

string

Application name (e.g. GaiaApp for Cosmos Hub)

result.response.version

string

Application software version

result.response.app_version

string

Application protocol version

result.response.last_block_height

string

Last block height the app has processed

result.response.last_block_app_hash

string

Application state hash after the last block

Use Cases

  • Detecting which Cosmos SDK app version is running

  • Monitoring app-level upgrade adoption

  • Audit trails for software versions over time

Error Handling

Status Code
Error Message
Cause

404

Not found

Missing or invalid <ACCESS-TOKEN>

-32602

Invalid params

Request parameters are missing or malformed

-32603

Internal error

Server-side error while processing the request

429

Too Many Requests

Rate limit exceeded for your plan

SDK Integration

Last updated

Was this helpful?