# How to Trade

Once you have connected your wallet to [app.9inch.io](https://app.9inch.io/swap) you can swap/trade between any tokens that have [liquidity](/9inch-gitbook/tips-tricks-and-guides/beginners-guide-to-defi/how-to-add-remove-liquidity.md) on 9inch. If you have not yet connected your wallet, see guide [here](/9inch-gitbook/tips-tricks-and-guides/beginners-guide-to-defi/connect-your-wallet-to-9inch.md).

To trade, you need ERC20 or PRC20 tokens. Check guide [here](/9inch-gitbook/tips-tricks-and-guides/beginners-guide-to-defi/get-erc20-prc20-tokens.md).

### Trading

Go to the [Exchange](https://app.9inch.io/swap) page

<div align="left"><figure><img src="/files/e6FIK0UYf14o2DDu3k6Q" alt="" width="563"><figcaption></figcaption></figure></div>

On the [Swap](https://app.9inch.io/swap) topmost dropdown menu, select the token you want to trade **from**.

On the lower dropdown, select the token you want to trade **to**.

You can type the desired amount on either on the upper or lower token amount field. The other field will be automatically estimated by the 9inch DEX.

<div align="left"><figure><img src="/files/W60pHrhHmnianOvypFEU" alt="" width="563"><figcaption></figcaption></figure></div>

If it's the first time swapping a token, you first need to **\[Enable]** it.

<details>

<summary>Depending on your wallet app, it might ask to set a token spending limit how much you can use, before it needs to ask for a new spending limit.</summary>

<img src="/files/VFv1igFTkSkYc9HrOKfx" alt="" data-size="original">

</details>

Review the token approval on your wallet and accept the transaction.

After you have approved the token, you can proceed to **\[Swap]** and new popup will erect

<div align="left"><figure><img src="/files/ppBr6lHukL857W5nQgS8" alt="" width="563"><figcaption></figcaption></figure></div>

Review the trade/swap and **\[Confirm Swap]**

![](/files/mojUdMnc98BUtJB940XI)

Your wallet will ask you to review the transaction and gas fees. If everything is ok you can confirm it on the wallet.

Depending on the congestion of the blockchain, the swap will take anywhere from 10 seconds to 9 inches. Don't forget to add the new token to your wallet's active tokens list. You can do this easily by pressing the corresponding button **\[Add XXX to Wallet]** while you wait for the blockchain to complete the transaction. After a while you will see the tokens in your wallet.

![](/files/XwwTGFxyWMhIaBjG6qE7)


---

# 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://9inch.gitbook.io/9inch-gitbook/tips-tricks-and-guides/beginners-guide-to-defi/how-to-trade.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.
