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

# NativeSwap

### What is NativeSwap?

NativeSwap is the mechanism that allows you to swap OP\_20 tokens with tBTC. This process is slightly different from OP\_20 <> OP\_20 swaps.

### How to swap tBTC <> OP\_20 tokens on Motoswap

Go to the <https://motoswap.org> and connect your wallet via the top right button "Connect Wallet".

{% embed url="<https://motoswap.org>" %}

### **Swap Settings**

On the top right of the swap section, you will see a cog icon, which will open the swap settings modal. Here you can select your:

* Max slippage
* Mining fee rate
* Priority fee

<figure><img src="/files/waYmd30FeVEvjSSuOJuG" alt="" width="563"><figcaption></figcaption></figure>

The default values should be acceptable for most cases.

After inputting your desired amount, click the swap button.&#x20;

### Swapping tBTC > OP\_20

Select the token you want to buy tBTC with or sell for tBTC.&#x20;

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

Once you've selected, you can either enter the amount you wish to sell (on top), or the amount of the token you want to buy (on the bottom).

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

#### Reserve your tokens

Once you've clicked the "Swap Tokens" button, you will be directed to the next step, which is reserving your tokens and amounts. You will get a summary of your reservation including the simulated amounts out, as well as the estimated gas fee. To continue, click the "Start Reservation" button and confirm the transaction.

This process can take up to 10 minutes.

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

You can leave this page and monitor your activity on the "Activity" page, or check the notification bell on the right side of the header.

<figure><img src="/files/t7ZNE1Ai7Z4ftT7dcltW" alt=""><figcaption><p>Native swap is pending, shown on the "Reservations" tab on the activity page, as well as the notification.</p></figcaption></figure>

Once your reservation is ready, you will receive a notification on the bell icon, or your reservation status will show "Completed". To continue, either click "Use reservation" from the notification bell, or "Continue Swap" from the "Reservations" tab in the "Activity" page.

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

#### Swap your tokens

Now you can review your reservation and it's details. Once you've reviewed,  you can move forward and click "Swap Tokens".

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

If your transaction was sent successfully, you will be met with a success modal:

<figure><img src="/files/6rLAoaWdksd4u8GE471p" alt=""><figcaption></figcaption></figure>

Congratulations! You've swapped.

### Swapping with OP\_20 > tBTC

Select the token you want to swap for tBTC. Below the token selection section you can select your swap priority.

<figure><img src="/files/5yL22bKIItNN2GLPzcyB" alt=""><figcaption></figcaption></figure>

#### Swap Priority

There are 2 types of priority for swapping an OP\_20 token to tBTC:

1. Standard priority - Your swap will be place into the normal priority queue
2. Bypass queue - Your swap will be placed in front of the normal queue
   1. Fee: 3% of your tokens + 50,000 SATS flat fee

Once you've selected your swap priority, click the "Swap Tokens" button.

You will then be shown a modal with the details of the swap, press the "Confirm" button to continue.

<figure><img src="/files/FjSplURJ3kTJsuT9hOAk" alt="" width="390"><figcaption></figcaption></figure>

After confirming, you will have successfully sent the transaction!

<figure><img src="/files/zmnjCVNhmBSunGweNuT6" alt="" width="382"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://opnet-testnet.gitbook.io/start/motoswap/nativeswap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
