> 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/using-kairos/buy-a-swap.md).

# Buy a Swap

Take a position on where DeFi interest rates are heading

Buying a swap is how you take a position on rates. If you think a rate is heading up, you buy the fixed side and profit when it rises above the rate you locked. If you think it is heading down, you buy the floating side and profit when it falls.

You will need a connected wallet, the market's collateral token (e.g. USDC), and a few minutes. See [Start Here](/using-kairos/using-kairos.md#before-your-first-transaction) if this is your first transaction.

## Two ways in

Both routes end at the same order screen — pick whichever suits you.

* **Predict** is the quick route. One card per market, showing the current rate, the term, and what each side returns.
* **Markets** is the full route. A sortable table of every market with liquidity and utilization, for more advanced traders.

## Step 1 — Choose a market and a direction

On **Predict**, each card covers one market: the rate it tracks, how long the term runs, and when it expires. Filter by term or collateral token using the controls at the top.

Then pick a side:

* **`Up ↑`** — you expect the rate to rise
* **`Down ↓`** — you expect the rate to fall

Each side shows its current return, the equivalent APR, and the **break-even** rate you need the market to pass to make money.

On **Markets**, click any row instead. Rows badged `Fixed` and `Variable` are the two sides of the same market.

## Step 2 — Set your size

The order screen opens with the direction you picked already selected as **`Fixed`** or **`Floating`**.

Enter your size either way round — use the **`⇅`** button between the two panels to switch:

* **`Notional Swap Size`** — the amount interest is calculated on
* **`Total Required`** — what actually leaves your wallet

Most people find `Total Required` easier to think in: decide what you are willing to risk, and let the app work out the notional. The slider does the same job more roughly.

Underneath, the breakdown splits your total into collateral, liquidation bounty and protocol fee.

{% hint style="info" %}
**Total Required is the most you can lose.** Collateral and the bounty come back to you at settlement, adjusted for how the rate moved. There is no margin call and nothing further to top up.
{% endhint %}

## Step 3 — Read the quote

The **`Current Quote`** panel shows what you are agreeing to:

* **Pay Fixed / Receive Fixed** — the rate you are locking for the term
* **Pay Variable / Receive Variable** — the live rate today
* **Current Spread** — the gap between them, which is your starting position. The spread can change during the term of the swap.
* **Max profit** — the ceiling on this trade, set by the collateral the pool has posted against you

{% hint style="warning" %}
The variable figure is **today's rate, not your settlement rate**. Settlement uses a time-weighted average across the whole term, so the number you finish on will differ from the number you see now.
{% endhint %}

Under **`See advanced options`** you can set slippage limits on rate and total cost. These are on **by default** on this screen, although you can modify or remove them before continuing.

## Step 4 — Approve and buy

Two transactions, or one if you have traded this token before:

1. **`Approve`** — lets the market move your collateral token. One-off per token.
2. **`Buy Swap`** — opens the position.

{% hint style="info" %}
Some tokens, USDT among them, require the existing allowance to be reset to zero before it can be raised. If yours does, the app tells you and you will be asked for two approvals instead of one.
{% endhint %}

A **Swap purchased** confirmation lists your swap ID, notional, fixed rate, term, expiry, leverage and everything you paid. From there, **View in portfolio** takes you to your open positions.

## If the button will not let you through

* **`Below Minimum Size`** — every market sets a floor. The message gives you the minimum for that market.
* **Rate moved beyond your slippage tolerance** — the market shifted while you were signing. Retry.
* **Couldn't size a position at that exact spend** — switch to entering a notional size instead.

## What happens next

Your position runs until its term ends, at which point you [settle it](/using-kairos/settle-at-maturity.md) to release your collateral. Some markets also let you [exit early](/using-kairos/early-exit.md) — the order screen tells you at purchase time if this one does not.

If rates move far enough against you that your collateral cannot cover the loss, your position can be [liquidated](/using-kairos/liquidation.md) before the term ends.

*Swaps are leveraged instruments. You can lose all of the collateral you post. Make sure you 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kairosswap.com/using-kairos/buy-a-swap.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
