> For the complete documentation index, see [llms.txt](https://futaba.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://futaba.gitbook.io/docs/protocol.md).

# Protocol

- [Gateway](https://futaba.gitbook.io/docs/protocol/gateway.md): Contracts with endpoints for querying
- [Send](https://futaba.gitbook.io/docs/protocol/gateway/send.md): Endpoint to request query
- [Receive](https://futaba.gitbook.io/docs/protocol/gateway/receive.md): Endpoints that receive query results from Relayer
- [Estimate fee](https://futaba.gitbook.io/docs/protocol/gateway/estimate-fee.md): Calculate the fees required for query
- [Cache](https://futaba.gitbook.io/docs/protocol/gateway/cache.md): Reuse data acquired in the past
- [Light Client](https://futaba.gitbook.io/docs/protocol/light-client.md): Light Client is a contract that verifies proof and extracts data
- [Request Query](https://futaba.gitbook.io/docs/protocol/light-client/request-query.md): Processing performed by Light Client at the time of request
- [Verify](https://futaba.gitbook.io/docs/protocol/light-client/verify.md): Function to verify proof
- [Estimate fee](https://futaba.gitbook.io/docs/protocol/light-client/estimate-fee.md): Calculate the fees required for query
- [Relayer](https://futaba.gitbook.io/docs/protocol/relayer.md): Relayer is responsible for retrieving data and proof of other chains
- [Konoha](https://futaba.gitbook.io/docs/protocol/konoha.md): Konoha is a module for retrieving the appropriate block header for each ecosystem
- [Chainlink Oracle](https://futaba.gitbook.io/docs/protocol/konoha/chainlink-oracle.md)
- [Herodotus](https://futaba.gitbook.io/docs/protocol/konoha/herodotus.md)
- [Lagrange](https://futaba.gitbook.io/docs/protocol/konoha/lagrange.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://futaba.gitbook.io/docs/protocol.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
