# How to trade spot market (swap)

![](/files/R1SVuogKiu3Pn1wwKfP4)

<br>

The swap page.

1. Access the Swap page via the menu on the right.
2. On the Swap page, you will find a window which requires two inputs. The upper field is for the token you are offering, while the lower is the token you wish to receive.
3. Click the drop-down menus to choose your preferred pair. Upon selecting one token, the other menu will show a list of tokens that can be swapped.
4. Indicate the number of tokens you wish to swap in the numeric input field. The AMM will automatically calculate and show the actual pay/receive amount based on the current token price. Your current balance for each token is displayed as well.
5. Once you have checked both pay/receive amount, you can click on ‘SWAP’ to initiate the swap, provided you have enough balance; if you're using a token for the first time on vDEX, you'll need to approve that token. A wallet pop-up will appear for confirmation. A pop-up message on the bottom right from Solscan would say “Swap Asset Confirmed” if the swap succeeds.


---

# 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://vdex.gitbook.io/vdex/traders-trading-guide/how-to-trade-spot-market.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.
