# Swapping Assets

To swap assets, follow the steps below.

### Adding liquidity

* Go to Fathom [DApp](https://dapp.fathom.fi/#/swap).
* Connect your Web3 wallet (such as [MetaMask](https://metamask.io/)) and make sure your network is set to the intended chain (i.e., [XDC](https://chainlist.org/chain/50)).

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

* Choose assets you want to swap using the drop-down list.

<div data-full-width="true"><figure><img src="/files/UuxnF7lqfj3ozHJjt83l" alt=""><figcaption></figcaption></figure></div>

* Enter assets amounts.

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

* Click "**Swap**"
  * You may be required to approve the tokens transfer before the actual transfer (depending on your previous approvals).
  * Sign and send the transaction in your Wallet.
  * Wait for the transaction to be processed.
  * Once the transaction has gone through, you'll see that your wallet token balances have changed.


---

# 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.fathom.fi/dex/user-guides/swapping-assets.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.
