# Smart Swaps

Users can conduct gas free, approval-less, swaps via their Sherpa Account directly. &#x20;

<figure><img src="/files/ohP1luQFFnFV2XJ43QGn" alt=""><figcaption><p>In the input token selection menu you can toggle between your Wallet (EOA) and your Sherpa Account.</p></figcaption></figure>

<figure><img src="/files/HbWhfwJzkcE23MlbQLn4" alt=""><figcaption><p>In the output token selection menu you can also toggle between your Wallet (EOA) and your Sherpa Account.</p></figcaption></figure>

When using Sherpa Accounts as the source no approval transactions will be necessary.  Simply fetch a quote and execute the trade in one transaction.

Swapping between a users connected wallet (EOA) and their Sherpa Account is also possible by setting the source and destinations according to their needs.  This effective allows a user to deposit or withdraw assets while they swap.

<figure><img src="/files/JtfbRT775Lb2y52f3WKT" alt=""><figcaption><p>At the bottom of the swap component there is a summary of the transaction path.</p></figcaption></figure>

#### Possible Swap Types

{% tabs %}
{% tab title="EOA → EOA" %}
**Standard wallet to wallet swap**

<figure><img src="/files/yoNsNXUBftjnAB9cs8gP" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="SA → SA" %}
**Sherpa Account to Sherpa Account swap**

<figure><img src="/files/ktpMyxbfTdSEjHeGemQr" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="EOA → SA" %}
**Swapping while depositing into your Sherpa Account**

<figure><img src="/files/jxSZMZ0wmwNLGB1jJn2i" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="SA → EOA" %}
**Swapping while withdrawing into your wallet**

<figure><img src="/files/s1ucdeF5zdF2HzO9DRYP" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Note that once you add a quantity to the input field it will lock the source until you clear the quantity.
{% endhint %}


---

# 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.sherpa.trade/sherpa-trade-automation/swap/smart-swaps.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.
