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

# Swap

How to swap on Value;

* **Prerequisite**: Metamask (or any non-custodial crypto wallet), funds
* ***Download Metamask from here:*** [***https://metamask.io***](https://metamask.io/)

#### Executing Swap on Value <a href="#executing-swap-on-value" id="executing-swap-on-value"></a>

Let's find out how a transactions goes through Value DEX aggregator. Below is the guide example on how swapping works on Value.

1. **Go to the dApp**

Go to the dApp and double check the URL.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252Fk05TcusaBHbj74d32kBH%252Fimage.png%3Falt%3Dmedia%26token%3Dc36db6bb-f9cb-480e-ba89-59ddc584533c&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8ab460c7&#x26;sv=1" alt=""><figcaption></figcaption></figure>

1. **Select chain and connect wallet**

From the upper right corner, select the chain you want to use for swapping asset and connect your wallet.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FZBl59V0gtwqUDaeZr57s%252Fimage.png%3Falt%3Dmedia%26token%3D7328065e-dfe2-4601-88bd-f55aa0961ad3&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=81629b8c&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Choose your wallet.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252F307nvWF2BNWXmT8PoTEo%252Fimage.png%3Falt%3Dmedia%26token%3D4b44112d-e39d-48e9-96ba-bae88ba9f468&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=97244420&#x26;sv=1" alt=""><figcaption></figcaption></figure>

1. **Swapping Inputs**

To execute swap, make sure you have chosen EVM module for all EVM-chains. Solana is currently the only non-EVM chain supported by Value.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252Ft1vD9Bpv0XByIf7xkcnj%252Fimage.png%3Falt%3Dmedia%26token%3D32378c3e-a97c-4ab5-b6ee-c32d775acae4&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=e795dcbd&#x26;sv=1" alt=""><figcaption></figcaption></figure>

Now select the destination asset from which you want to swap. In the swapping window, you can chose either the token from options or add new by entering contract address.

![](https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FExZDeTz3G4LglwfFlL8M%252Fimage.png%3Falt%3Dmedia%26token%3Da8d8e9b1-f167-4004-b4d6-71a272589208\&width=768\&dpr=4\&quality=100\&sign=ab58bdfa\&sv=1)

After, select the destination token you want to swap-in.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FOaWB2TQlVrrYNRF1IPdW%252Fimage.png%3Falt%3Dmedia%26token%3Da6ac6a18-6a4d-422f-b3f4-b077f4a73909&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=ecfb9301&#x26;sv=1" alt=""><figcaption></figcaption></figure>

On selecting tokens, you could see the ideal trading paths that are most beneficial across different liquidity pools. It will show supported DEXs that you cam find in the list. Select one of the DEX to execute your trade.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FLta8qOSE1mbXQP0rwF9c%252Fimage.png%3Falt%3Dmedia%26token%3D49e8ca45-fcc3-433f-951f-87b19ca8a65a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=31a3eee7&#x26;sv=1" alt=""><figcaption></figcaption></figure>

1. **Executing Swap**

Before executing swap, see transaction details by clicking on the the button below;

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FVIzUGTgxFgZrcyWdTpNG%252Fimage.png%3Falt%3Dmedia%26token%3Dfac43b1a-d079-411c-811b-930a7a5ef432&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=8b163d14&#x26;sv=1" alt=""><figcaption></figcaption></figure>

You can change the slippage setting by clicking on the button above.

<figure><img src="https://value-dex.gitbook.io/~gitbook/image?url=https%3A%2F%2F2242784052-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FRP501a51dAORCD6dOPcE%252Fuploads%252FBdv37u7uBDinbaoF62Fj%252Fimage.png%3Falt%3Dmedia%26token%3Daaed405f-c264-409e-b2f4-59305e58ec87&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=12dc07d1&#x26;sv=1" alt=""><figcaption></figcaption></figure>

high-slippage could significantly affect the swapping amount. Executing trades using low-slippage is recommended.

After cross-checking everything, click on swap button & confirm the transaction from Metamask.

[<br>](https://value-dex.gitbook.io/docs/dapp-guide/dashboard)


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.valu.so/dapp-guide/swap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
