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

# Swap

> **Swap is one of the two most basic on-chain transactions for all crypto users. We understand the hassle of switching between platforms just to complete a Swap transaction. That's why we built a DEX aggregator to help you swap, either within a single blockchain or across two different blockchains, at the best possible market rate.**

**Step 1: Navigate to "Swap" page**

You can access the "Swap" page by hovering over "More" in the navigation bar and click on "Swap."

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(160).png" alt=""><figcaption></figcaption></figure>

**Step 2: Pick "Swap" or "Cross Chain Swap"**

Pick "Swap" if you want to swap within a blockchain network, or pick "Cross Chain Swap" if you want to swap from one blockchain network to another

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(161).png" alt=""><figcaption></figcaption></figure>

**Step 3: Pick the chain(s) and tokens, and fill in the swap amount**

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(162).png" alt=""><figcaption></figcaption></figure>

**Step 4: Pick the swap route you prefer and click "Review Swap"**

Krystal will scan all popular DEXes and automatically pick the one with the best rate for you. However, you can also view all possible swap routes and choose the one that suits you best. Once you've made your selection, click "Review Swap."

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(163).png" alt=""><figcaption></figcaption></figure>

**Step 5: Check the swap details and confirm**

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(164).png" alt=""><figcaption></figcaption></figure>

**Step 6: Click on your wallet at the top right corner to see your updated balance.**

<figure><img src="https://github.com/KrystalDeFi/docs-gitbook/blob/main/docs/liquidity-farming/.gitbook/assets/image%20(165).png" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.krystal.app/products/others/swap.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
