post https://cosmos-mainnet-archive.allthatnode.com:26657/
Query the application for some information.
Query the application for some information.
Parameters
- OBJECT - query parameters
path
:STRING
- Path to the data ("/a/b/c")data
:STRING
- data stored in the pathheight
:INTEGER
- (optional) height of block (input 0 for the latest height)prove
:BOOLEAN
- (optional) Include proofs of the transactions inclusion in the block
curl https://cosmos-mainnet-archive.allthatnode.com:26657/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \
--header "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "abci_query",
"params": {
"path": "/store/slashing/validators",
"data": "01",
"height": "16369419",
"prove": true
}
}'
Returns
OBJECT
- Response of the submitted query
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"response": {
"code": 6,
"log": "unexpected query path: /validators: unknown request",
"info": "",
"index": "0",
"key": null,
"value": null,
"proofOps": null,
"height": "16369419",
"codespace": "sdk"
}
}
}