> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# abci_query

> Query the application for some information.

### Parameters

<ParamField query="chainId" type="string" default="osmosis" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="abci_query" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["/a/b/c","IHAVENOIDEA",1,false]} placeholder="[&#x22;/a/b/c&#x22;,&#x22;IHAVENOIDEA&#x22;,1,false]" required>
  Query parameters for method abci\_query in the order: \[path, data, height, prove]

  Positional parameters for <code>abci\_query</code>:

  <ul>
    <li><code>params\[0]</code>: Path to the data (e.g., "/a/b/c")</li>
    <li><code>params\[1]</code>: Data content to query</li>
    <li><code>params\[2]</code>: Block height. 0 means latest.</li>
    <li><code>params\[3]</code>: Whether to include proofs of transaction inclusion.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Application query response.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=osmosis \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "abci_query",
      "params": [
        "/a/b/c",
        "IHAVENOIDEA",
        1,
        false
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "response": {
        "log": "exists",
        "height": "0",
        "proof": "010114FED0DAD959F36091AD761C922ABA3CBF1D8349990101020103011406AA2262E2F448242DF2C2607C3CDC705313EE3B0001149D16177BC71E44...",
        "value": "61626364",
        "key": "61626364",
        "index": "-1",
        "code": "0"
      }
    }
  }
  ```
</ResponseExample>
