# Request Query

{% hint style="info" %}
This function is used when you want to implement your own logic at request time with Light Client Contract.

No need to implement your own if you don't want to.
{% endhint %}

```solidity
function requestQuery(QueryType.QueryRequest[] memory queries) external;
```

<table><thead><tr><th width="133.5">Field</th><th>Description</th></tr></thead><tbody><tr><td><code>queries</code></td><td>An array of <code>QueryRequest</code> data</td></tr></tbody></table>

Our early implementation with Oracle incorporates the following logic:

* Format `QueryRequest` into `dstChainId` and `height` only
* Making a request to Oracle using [Chainlink's Connecting to any API](https://docs.chain.link/any-api/introduction)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://futaba.gitbook.io/docs/protocol/light-client/request-query.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
