> For the complete documentation index, see [llms.txt](https://docs.kairosswap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kairosswap.com/how-tos/buy-a-rate-swap.md).

# Buy a Rate Swap

So you're ready to buy your first swap? Here is an easy, practical walkthrough:

### Degen Mode

**Step 1: Choose a Direction**

Will interest rates go up or down?

<figure><img src="/files/lcsCNxr1341CDd5FFpY8" alt="" width="375"><figcaption></figcaption></figure>

**Step 2: How much to wager?**

Slide the widget up to the amount you want to bet on rate movement

<figure><img src="/files/DtrJqtr9K0scP55gRK5q" alt="" width="375"><figcaption></figcaption></figure>

**Step 3: Finalize your Prediction**

Lastly, you'll need to click `[Approve]` to enable trading, `[Post Collateral]` to fund your Prediction, and `[Place Prediction]` to finalize your bet

**Step 4: Profit**

If rates move in your favor, collect that sweet sweet yield

<figure><img src="/files/SG7gSA87MbYsJbn19AJf" alt="" width="375"><figcaption></figcaption></figure>

### Pro Mode

**Toggle on Pro Mode:**

<figure><img src="/files/WYE19WXTalfkmAbPDKPe" alt="" width="375"><figcaption></figcaption></figure>

**Step 1: Select a Market**

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

**Step 2: Choose a Notional Value**

This is the total amount that will accrue interest (gain or loss), during the duration of your swap. For example $5,000,000 USDC

<figure><img src="/files/Kv2Zy8akWa2PxX6zYMq9" alt="" width="155"><figcaption></figcaption></figure>

**Step 3: Connect your Wallet**

Using Coinbase Wallet, Metamask, Wallet Connect, or your favorite DeFi wallet. Connect to the swap market.

**Step 4: Approve Collateral**

You should only need to do this once, to approve your collateral for the swap market. Cick "Add Collalteral," on the order widget:

<figure><img src="/files/paoCQ9mUgPMawCXbLBHu" alt="" width="156"><figcaption></figcaption></figure>

Then, click "Approve" and sign the approval transaction:

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

Wait for this transaction to complete.

**Step 5: Add Your Collateral**

Add the prefilled amount of collateral to execute your swap, by click "Add Collateral":

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

Wait for this transaction to complete

**Step 6: Execute your Swap Trade**

Finalize your Swap trade by clicking "Buy Swap" on the order widget:

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

**Profit (with a little luck!)**

You'll now see your open swap position on the market page below the order widget:

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

Next up, learn how to Manage Collateral and view your Portfolio

*DISCLAIMER: Swaps are leveraged instruments. You can lose all of your collateral if positions move significantly against you. Always understand the risks before trading.*


---

# 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://docs.kairosswap.com/how-tos/buy-a-rate-swap.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.
