Skip to main content
GET
/
abci_query
abci_query
curl --request GET \
  --url https://rpc.cosmos.directory/cosmoshub/abci_query
{
  "error": "",
  "result": {
    "response": {
      "log": "exists",
      "height": "0",
      "proof": "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E445476174622EA559715C293740C",
      "value": "61626364",
      "key": "61626364",
      "index": "-1",
      "code": "0"
    }
  },
  "id": 0,
  "jsonrpc": "2.0"
}

Query Parameters

path
string
required

Path to the data ("/a/b/c")

Example:

"\"/a/b/c\""

data
string
required

Data

Example:

"IHAVENOIDEA"

height
integer
default:0

Height (0 means latest)

Example:

1

prove
boolean
default:false

Include proofs of the transactions inclusion in the block

Example:

true

Response

Response of the submitted query

error
string
required
Example:

""

result
object
required
id
integer
required
Example:

0

jsonrpc
string
required
Example:

"2.0"