abci_info - Cosmos
abci_info. Discover how to efficiently retrieve application information and protocol versions
abci_info - Cosmos [Value: 20CU]
Retrieves application information and protocol versions
Use cases
- Retrieve basic information about the ABCI application
- Monitor application version and block height for network health
- Analyze the state of the Cosmos application
Constraints
- Network latency can delay data retrieval
- Requires access to a Cosmos RPC endpoint
- ABCI application state may change frequently
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": "abci_info",
"params": [],
"id": 1
}'
Response
200
{
"jsonrpc": "2.0",
"result": {
"response": {
"data": "cosmoshub-4",
"version": "0.42.5",
"app_version": "0.42.5",
"last_block_height": "1234567",
"last_block_app_hash": "ABC123..."
}
},
"id": 1
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
Return the latest application informationResponse params
object
idinteger
jsonrpcstring
resultstring
object
responsestring
object
datastring
The data returned by the application.
versionstring
The version of the application.
last_block_heightstring
The height of the last block processed.
last_block_app_hashstring
The application hash of the last block.
minimum_gas_pricesstring
The minimum gas prices required for transactions.