# Swaps

The Kodiak DEX enables users to swap between two tokens with liquidity in the protocol. Token swaps are optimized for users by Kodiak's Pathfinder router, which automatically finds the best route across V3 and V2 liquidity pools for efficient trade execution.

This smooth process relies on the availability of ample liquidity for the desired token pair. When liquidity is sufficient, swaps are executed as single hops, resulting in lower fees and minimized slippage for users. In situations with limited liquidity between input and output tokens, Pathfinder utilizes multi-hop swaps, intelligently linking multiple pools to complete the exchange smoothly.&#x20;

Through Kodiak's frontend web app, users have the power to customize their swaps according to their preferences. They can adjust parameters such as:

* Swap Tokens: Select the input and output tokens for the swap.
* Swap Token Quantity: Set the fixed input or output token quantity for the swap.
* Slippage Tolerance: Set the maximum slippage allowed for the swap (default is set to Auto).
* Show Chart: Display the corresponding token pair's price chart (default is set to hide the chart).

<figure><img src="/files/26rWtV68NRuasdUEkrnM" alt=""><figcaption><p>Swap Page</p></figcaption></figure>

**User Guide**

See user guides for:

* Standard swap: [Swap](/user-guide/swap.md)&#x20;
* Multi swap: \<add user guide>
* Advanced:&#x20;
  * Limit Order: [Limit Orders](/user-guide/limit-orders.md)
  * TWAP: [TWAP](/user-guide/twap.md)
  * TP / SL: \<add user guide>

Standard and Multi swaps are powered by Kodiak's advanced swap aggregator [kX](/protocol/kx.md)

Advanced Orders (Limit, TWAP, TP, SL) functionality is powered by [Orbs Network](https://www.orbs.com/), a decentralized L3 for advanced trading.


---

# Agent Instructions: 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://documentation.kodiak.finance/protocol/dex/swaps.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.
