Skip to main content

abci_query REST API Endpoint

Queries the application for particular information.

Updated on
May 15, 2024

abci_query REST API Endpoint

Query Parameters

path
string
REQUIRED
A path to the data
data
string
REQUIRED
The data
height
integer
REQUIRED
The height (0 means latest)
prove
boolean
REQUIRED
It adds proofs of the transactions inclusion in the block. By default it is false

Returns

error
(Optional) The error field
result
object
The result object which contains the following fields:
response
object
The response object which contains the following fields:
log
Indicates the status of the requested data
height
Height of the block where the data resides
proof
Proof of the existence of the data
value
Value associated with the key
key
Key of the requested data
index
Index of the requested data
code
Error code, if any
Request
1
curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/abci_query?path=PATH_VALUE&data=DATA_VALUE&height=HEIGHT&prove=true'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free