# Swap

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

DragonSwap operates as an Automated Market Maker (AMM)-based DEX, enabling users to trade directly from their wallets without relying on centralized exchanges.

### How to Swap

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

1. Connect a wallet that supports the Kaia chain.
2. Select the token to provide and the token to receive.
3. Review the details and click "Swap." If swapping a token for the first time, approve it by selecting "Allow Token Use."
4. Confirm the swap in your wallet.

{% hint style="warning" %}
DragonSwap supports Kaia (KAIA) chain tokens. Always verify the contract address before trading.
{% endhint %}

### Advanced Settings

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

By default, DragonSwap utilizes both V3 and V2 liquidity pools to provide traders with the best prices. However, users can customize routing preferences, select specific liquidity sources, and enable or disable multi-hop or split routing according to their needs.

#### Customizing Routing

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

DragonSwap’s routing algorithm automatically uses both V3 and V2 liquidity to secure the best price for traders. However, users have the option to define their own routing preferences.

* Liquidity Source

1. Click "Customizing Routing" under the trade path display or within the Swap interface settings.
2. By default, all liquidity sources are enabled, but users can modify them according to their preferences.

* Routing Preference

1. Click "Customizing Routing" under the trade path display or within the Swap interface settings.
2. By default, multi-hop and split routing are enabled, but users can adjust these settings as needed.

{% hint style="info" %}
**Multihop?**

If a direct swap between Token A and Token B is unavailable, DragonSwap finds an optimal path using intermediate tokens (e.g., A → C → B).

**Benefits:**

* Enables swaps even in low-liquidity pairs
* Reduces transaction failure risk and slippage
  {% endhint %}

{% hint style="info" %}
**Split Routing?**

DragonSwap divides a single swap across multiple paths to secure the best price.

**Benefits:**

* Optimizes trade execution in volatile markets
* Minimizes slippage for large transactions
  {% endhint %}


---

# 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://docs.dgswap.io/products/swap.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.
