# How to make a swap

In JediSwap, users can swap tokens permissionlessly without losing custody of their funds.

## 1. Choose the tokens you wish to swap

* Go to <https://app.jediswap.xyz/>
* Choose the token you wish to swap and the token you wish to receive.

<figure><img src="https://lh4.googleusercontent.com/GD7IzOWzQBtDgMb-m5xuUWfYXg4cegOc4Jwom_7oc-PjYPyvevJlmvqgvKa4gfdqUpxWe-H5DJAMUjnncLRuiAHe85gp32wmoGe2ydZWoJ8uA7Sc5V6J1VtR0QTrMyK36-QI6AgbnKnNrtZ8ZEDLXcw" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh4.googleusercontent.com/42b_m1ruGsKxoSJ1g1mqD-3RwS7YxeFC3hIclV-Sa5y6Ysi8myngantdXvtSFhBkg0O9svLVimzI1se-59RoZLcnpoQNHswvKHchYtsLApDOE14bpc9YgIjeHHMzzTPPKogH1rb05Xq3k04noHyNwG4" alt=""><figcaption></figcaption></figure>

You can also search a token by its name or contract address.

<figure><img src="https://lh3.googleusercontent.com/Mc8RdPMVodGNph7WeeEKX5AtDBX755fqtdYn4LZVJeoY8kNlASvKcSkhpZtCU6zk0Qbsea2NkmCYXVHmTpKKKoq4v1kZ1cfvpzB7ibSM1Uzb8sl4lbHo4wrNqEPHX5Q6DVWVwb0M0P9QGoitRfwWzKU" alt=""><figcaption></figcaption></figure>

## 2. Enter the input or output amount

* Enter the amount that you wish to swap. Fill in either the input amount for the token you want to trade or the output amount for the token you want to receive.

<figure><img src="https://lh3.googleusercontent.com/y94enZ8rO4b7pdSyQ5_Lhur_KT_z1O_ctjnGw3GFxM6B01qnvGIaa4zagLqolzatbWYNTo_kRuolKZJulUd5gZgWCbLSbJrDpw89pHfU_5T3H9oifxvdIMjzqcR91pIp2ZNHpWvxGYaInnmSWF7Tm9o" alt=""><figcaption></figcaption></figure>

## 3. Review your swap

* Click on the 'Swap' button to see a preview of your swap.

<figure><img src="https://lh5.googleusercontent.com/LChwnaQheUB29nqNjj7JCXXzFYqPrcDPyMxtNaoYYPchRKVe7KH2BENHWWJCAf3BbiZ9pI-scm2JhNMUtvbtGziD_-wf97a6h4tsZpBs244zGMeYz1vX3bER5IPfuFCKU6D7EckIKQTUrBewuqT-sp0" alt=""><figcaption></figcaption></figure>

This screen will show you all the details of your swap, like the swap fee, price impact, allowed slippage, etc.

<figure><img src="https://lh6.googleusercontent.com/86wn1Dxf6UvVlafCVTsPYpgqJcEs9SQMtVQsDquoQBZ4B0Mw8yWipX_fR4diVeogDOHBaeYMik0lPpJwRpIt3BUcawBLqLbPJ6AVoiXsqzHAsoRrqezg4Od-mbQKYCcWyNWBa2s7fiXZB0ctdVUPUxU" alt=""><figcaption></figcaption></figure>

## 4. Confirm your swap

* Once you have reviewed your swap details, click on the “Confirm Swap” button, and it will open an Argent-X popup to authorize the transaction

<figure><img src="https://lh5.googleusercontent.com/LChwnaQheUB29nqNjj7JCXXzFYqPrcDPyMxtNaoYYPchRKVe7KH2BENHWWJCAf3BbiZ9pI-scm2JhNMUtvbtGziD_-wf97a6h4tsZpBs244zGMeYz1vX3bER5IPfuFCKU6D7EckIKQTUrBewuqT-sp0" alt=""><figcaption></figcaption></figure>

## 5. Sign the swap transaction

* Argent-X will prompt you to sign the swap transaction. Click on "Sign" to complete the transaction.

<figure><img src="https://lh6.googleusercontent.com/G63EuL-8wUyLmcZCkbkcHbGAFzwALYJGoxIx4iwSv1qHhD-I3RJRtgaDeYCc8ZIY-i9HJ0R44O3Ku2cWyW685IpThZJ12ubJEfYIofVcqXcYD6rWhS27Y2YtoVqknXL6nXY8CeikWa1-lwdFIJ3ckzg" alt=""><figcaption></figcaption></figure>

## 6. Wait for the transaction to be confirmed

This should take a couple of seconds.

[*How to add Liquidity on JediSwap*](https://docs.jediswap.xyz/how-to-use-jediswap/how-to-add-liquidity)


---

# 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.jediswap.xyz/how-to-use-jediswap/how-to-make-a-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.
