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

# Developers

- [Smart Contracts](https://docs.a-dex.io/developers/smart-contracts.md)
- [Swap](https://docs.a-dex.io/developers/smart-contracts/swap.md)
- [Tables](https://docs.a-dex.io/developers/smart-contracts/swap/tables.md)
- [Actions](https://docs.a-dex.io/developers/smart-contracts/swap/actions.md)
- [Examples](https://docs.a-dex.io/developers/smart-contracts/swap/examples.md)
- [How to open liquidity account?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-open-liquidity-account.md)
- [How to close liquidity account?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-close-liquidity-account.md)
- [How to add liquidity?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-add-liquidity.md)
- [How to remove liquidity?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-remove-liquidity.md)
- [How to swap by market price?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-swap-by-market-price.md)
- [How to swap tokens with min out required amount?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-swap-tokens-with-min-out-required-amount.md)
- [How to cross-swap tokens by market price?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-cross-swap-tokens-by-market-price.md)
- [How to cross-swap tokens with min out required amount?](https://docs.a-dex.io/developers/smart-contracts/swap/examples/how-to-cross-swap-tokens-with-min-out-required-amount.md)
- [SDK](https://docs.a-dex.io/developers/sdk.md): 🛠 An SDK for building applications on top of A-DEX
- [API](https://docs.a-dex.io/developers/api.md): 🤖 An GraphQL API of A-DEX


---

# 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.a-dex.io/developers.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.
