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

# Technical Reference

- [API Overview](https://docs.optswap.org/technical-reference/api-overview.md): "At some stage ... we should have to expect the machines to take control." — Alan Turing
- [Smart Contracts](https://docs.optswap.org/technical-reference/smart-contracts.md): "A valid contract requires voluntary offer, acceptance, and consideration." — Robert Higgs
- [Deployment Addresses](https://docs.optswap.org/technical-reference/smart-contracts/deployment-addresses.md): 🚧 Under Construction 🏗
- [MetaOracle](https://docs.optswap.org/technical-reference/smart-contracts/metaoracle.md): 🚧 Under Construction 🏗
- [OptSwap](https://docs.optswap.org/technical-reference/smart-contracts/optswap.md): 🚧 Under Construction 🏗
- [OptSwapAMM](https://docs.optswap.org/technical-reference/smart-contracts/optswapamm.md): 🚧 Under Construction 🏗
- [OptSwapDAOAirdrops](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaoairdrops.md): 🚧 Under Construction 🏗
- [OptSwapDAOFundraising](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaofundraising.md): 🚧 Under Construction 🏗
- [OptSwapDAOGovernance](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaogovernance.md): 🚧 Under Construction 🏗
- [OptSwapDAOStaking](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaostaking.md): 🚧 Under Construction 🏗
- [OptSwapDAOToken](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaotoken.md): 🚧 Under Construction 🏗
- [OptSwapDAOVeToken](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaovetoken.md): 🚧 Under Construction 🏗
- [OptSwapDAOCommercialPaperToken](https://docs.optswap.org/technical-reference/smart-contracts/optswapdaocommercialpapertoken.md): 🚧 Under Construction 🏗
- [Subgraphs](https://docs.optswap.org/technical-reference/subgraphs.md): "Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom." — Clifford Stoll
- [Endpoints](https://docs.optswap.org/technical-reference/subgraphs/endpoints.md): 🚧 Under Construction 🏗
- [Entities](https://docs.optswap.org/technical-reference/subgraphs/entities.md): OptSwap Subgraph Data Entities and Schema
- [Querying](https://docs.optswap.org/technical-reference/subgraphs/querying.md)
- [Example Queries](https://docs.optswap.org/technical-reference/subgraphs/querying/example-queries.md)
- [REST API](https://docs.optswap.org/technical-reference/rest-api.md): "Truth can only be found in one place: the code." — Robert C. Martin
- [Endpoints](https://docs.optswap.org/technical-reference/rest-api/endpoints.md)
- [API Methods](https://docs.optswap.org/technical-reference/rest-api/api-methods.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:

```
GET https://docs.optswap.org/technical-reference.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.
