# 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**: <a href="#swap-steps" id="swap-steps"></a>

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**: <a href="#key-points" id="key-points"></a>

* **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**: <a href="#operational-instructions" id="operational-instructions"></a>

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

<figure><img src="/files/c1hWssucktMJT9bKFFeo" alt=""><figcaption><p>connect wallet</p></figcaption></figure>

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

<figure><img src="https://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252F7CSUmDkZeCBPInVstps1%252Fimage.png%3Falt%3Dmedia%26token%3D7c7d480f-47a6-451e-86c5-d0710962ae0a&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b9e0de22&#x26;sv=1" 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://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252FkRRkMc1N8RccGP5TJKh8%252Fimage.png%3Falt%3Dmedia%26token%3D76a2d944-927a-476e-8ee3-8b48caeef919&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=92bf03e8&#x26;sv=1" 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://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252FwwvuBMU7Dj8c3uLibykA%252Fimage.png%3Falt%3Dmedia%26token%3D42241b8b-a1ad-48f6-9b55-c430f6325f0b&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=6cc073d8&#x26;sv=1" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252F4cOPinGeHnZwQ2Bm4gwc%252Fimage.png%3Falt%3Dmedia%26token%3D11da4d05-7de3-4da7-a01a-99b18f09b2d7&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=32c9140c&#x26;sv=1" 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://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252FplZbX5rjFI3iJKZQcOza%252Fimage.png%3Falt%3Dmedia%26token%3De7b034b5-ebbb-441c-808c-e001127784e5&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=470e5708&#x26;sv=1" 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://richard-8.gitbook.io/~gitbook/image?url=https%3A%2F%2F2011042716-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F5nUA7CbpctOi8cQjtSXI%252Fuploads%252Fk5e6ToVMJhMyXCe7QeBA%252Fimage.png%3Falt%3Dmedia%26token%3D1a59e00b-29dc-4baf-ac30-ca4af94ff018&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=b61bd2f&#x26;sv=1" alt=""><figcaption></figcaption></figure>


---

# 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.pixelswap.io/product/use-pixelswap/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.
