> For the complete documentation index, see [llms.txt](https://richard-8.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://richard-8.gitbook.io/untitled/swap.md).

# Swap

The Swap function allows users to instantly convert between TON / Jettons and Jettons / Jettons. This feature simplifies the trading process on the PixelSwap platform.

## **Swap Steps**:

1. **Select Tokens**: In the "You Send" field, select the token you hold, and in the "You Receive" field, select the target token you wish to swap to.
2. **Enter Amount**: Input the amount of the token you want to swap. The system will automatically calculate the equivalent amount of the target token.
3. **Set Slippage Tolerance**: Slippage occurs due to market fluctuations. Before swapping, you can adjust the slippage tolerance, typically 1% or 5%.
4. **Confirm the Transaction**: Review the transaction details and click the "Swap" button. The system will prompt you to confirm the transaction, after which the process begins.
5. **Wait for Transaction Completion**: Once confirmed, you will see the updated balance of the target token in your wallet.

## **Key Points**:

* **Network Fees**: Each transaction incurs a TON network fee, so ensure you have enough TON to cover this cost.
* **Minimum Swap Amount**: Some tokens may have a minimum swap amount; ensure your input meets this requirement.

## **Operational Instructions**:

* Click "Connect Wallet" to link your TON wallet.

<div align="center"><figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcMQ4P8c4IJDIHCQFf-ToF5acKF5kj__YIgUmlrqgNTQsCVTdtHpF_ztrqjYZizw6DkndIu4aIaSik00RRU6RtGUbi_wzg8gnrKp1K0zWtyS-P0aL4G1RpVfJGZFufFjKg-QWkboqb6mblm5DXz91fKXDVS?key=2zLI24_JCamiVwbnZV2N9g" alt=""><figcaption><p>connect wallet</p></figcaption></figure></div>

* Once connected, clicking the wallet address will open a dropdown where you can copy the address or disconnect the wallet.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2F7CSUmDkZeCBPInVstps1%2Fimage.png?alt=media&amp;token=7c7d480f-47a6-451e-86c5-d0710962ae0a" alt=""><figcaption></figcaption></figure>

* **Refresh and toggle features**:
  * Click the refresh button to update data.
  * Access advanced settings by clicking the "Settings" icon.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2FkRRkMc1N8RccGP5TJKh8%2Fimage.png?alt=media&amp;token=76a2d944-927a-476e-8ee3-8b48caeef919" alt=""><figcaption></figcaption></figure>

* **Set slippage and effective time range**: If your wallet is not connected, you can still adjust the "Slippage Tolerance" and "Effective Time Range." If you select tokens without connecting a wallet, the system will prompt you to connect one first.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2FwwvuBMU7Dj8c3uLibykA%2Fimage.png?alt=media&amp;token=42241b8b-a1ad-48f6-9b55-c430f6325f0b" alt=""><figcaption></figcaption></figure>

* **Switch Send Wallet**: Click the "Send Wallet" toggle to choose which wallet to send funds from.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2F4cOPinGeHnZwQ2Bm4gwc%2Fimage.png?alt=media&amp;token=11da4d05-7de3-4da7-a01a-99b18f09b2d7" alt=""><figcaption></figcaption></figure>

* **Select Tokens and Input Amount**:
  * Click the token selection box to choose the tokens for the swap.
  * Enter the amount or use the "Max" button to select the maximum available balance.
  * You can also swap the positions of the tokens with a button to invert the two tokens' positions.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2FplZbX5rjFI3iJKZQcOza%2Fimage.png?alt=media&amp;token=e7b034b5-ebbb-441c-808c-e001127784e5" alt=""><figcaption></figcaption></figure>

* **Transaction Data and Action Buttons**: The top section shows the current transaction data, and the bottom section contains action buttons like "Swap" to execute the transaction.

<figure><img src="https://2011042716-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5nUA7CbpctOi8cQjtSXI%2Fuploads%2Fk5e6ToVMJhMyXCe7QeBA%2Fimage.png?alt=media&amp;token=1a59e00b-29dc-4baf-ac30-ca4af94ff018" alt=""><figcaption></figcaption></figure>
