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

# Swap

To exchange tokens via Orniton, you need to go to the "Swap" section

<figure><img src="/files/EUFeeSLOJIJXgKxlS2g1" alt=""><figcaption></figcaption></figure>

Find and select the token you want to exchange. You can browse the list of tokens or search for a token by name or contract address. When you select a token, the system will automatically detect the desired exchange, but you can also change this manually by clicking on the "DEX" button

<figure><img src="/files/pxIU8Z2A6iTumsky1j5r" alt=""><figcaption></figcaption></figure>

You can select tokens in both fields and also swap them. Enter the amount you would like to exchange, receive, or select the "Max" option. The "Max" option will enter the maximum number of tokens you hold in your wallet.

<figure><img src="/files/Hz76al0B31KOxakgYsX6" alt=""><figcaption></figcaption></figure>

To exchange, click "Swap"

<figure><img src="/files/QR0ss1kmqpFH5zHp5Z8l" alt=""><figcaption></figcaption></figure>

When the exchange is successfully completed, the screen will display the message "Exchange completed!"

<figure><img src="/files/OsxuwEjvrNlj1xZkfjQS" alt=""><figcaption></figcaption></figure>


---

# 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://docs.orniton.org/guide-en/swap.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.
