> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kaleidoswap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Swaps

> Swap assets directly in the KaleidoSwap Extension by requesting a quote, executing, and tracking your swap across supported networks

## Overview

The KaleidoSwap Extension includes an in-extension swap surface. It can use KaleidoSwap maker pairs when the optional RGB Lightning Node account is connected, and it can use Spark/Flashnet routes when Spark pools are available.

> [!NOTE]
>
> Swaps exchange one asset for another inside your wallet. To move funds between Spark and external chains (EVM networks, Solana, and more), use the [Bridge](https://docs.kaleidoswap.com/extension/kaleidoswap-extension/bridge.md) instead.

<video autoPlay muted loop controls controlsList="nodownload" playsInline preload="metadata" poster="/assets/videos/usdt-on-rgb-swap.jpg" title="Atomic BTC to USDT swap on RGB over Lightning" aria-label="Atomic BTC to USDT swap on RGB over Lightning">
  <source src="https://docs.kaleidoswap.com/assets/videos/usdt-on-rgb-swap.mp4" type="video/mp4" />
</video>

## Prerequisites

Before swapping:

1. At least one compatible swap venue must be available
2. The relevant account must be connected
3. You must have sufficient balance for the source asset and network fees

The amount input is gated by your **spendable** balance for the selected source asset, so you cannot quote more than the wallet can actually send.

## Swap Flow

**1. Open Swap**

Click the **Swap** button on the dashboard action grid.

**2. Select Assets**

Choose the **From** and **To** assets:

* **From** - The asset you want to trade (e.g., BTC)
* **To** - The asset you want to receive

**3. Enter Amount**

Enter the amount you want to swap. The extension fetches a quote from the selected venue showing:

* Exchange rate
* Output amount
* Fees
* Expiry

**4. Review**

The **Swap Review** screen shows what you pay and receive, the **Provider** (KaleidoSwap or Flashnet), **Rate**, **Fee**, **Quote ID**, and a live **Expires** countdown. If the quote expires, the button becomes **Refresh Quote**.

**5. Confirm**

Confirm the swap before the quote expires.

**6. Track Status**

For KaleidoSwap maker swaps, the status screen shows a three-step progress tracker:

* Requesting
* Atomic Swap
* Completing

followed by a success or failure result. Flashnet swaps show a single **Settling on Spark…** state instead.

![Swap Review screen showing pay and receive amounts, provider, rate, fee, quote ID, and an mm:ss Expires countdown above the Confirm Swap button](https://mintcdn.com/kaleidoswap/OYrIAX44Hz-HKeUZ/assets/images/extension/24-swap-review.png?fit=max\&auto=format\&n=OYrIAX44Hz-HKeUZ\&q=85\&s=569928ba93fdd894e3efa7723683ab54)

<video autoPlay muted loop controls controlsList="nodownload" playsInline preload="metadata" poster="/assets/videos/spark-swap-usdb.jpg" title="Swapping BTC to USDB on Spark" aria-label="Swapping BTC to USDB on Spark">
  <source src="https://docs.kaleidoswap.com/assets/videos/spark-swap-usdb.mp4" type="video/mp4" />
</video>

## Real-Time Quotes

When you enter an amount, the KaleidoSwap Extension fetches a quote from the active venue:

| Quote Field | Description |
| - | - |
| **Rate** | Exchange rate between the two assets |
| **Output Amount** | How much you will receive |
| **Fee** | Protocol and network fees |
| **Expiry** | How long the quote is valid |
| **Venue** | The route provider, such as KaleidoSwap maker or Flashnet |

Quotes update in real time as you change the amount.

### Slippage Protection

Flashnet swaps enforce a built-in maximum slippage of 5%: the minimum output amount is derived from that limit, and the swap fails rather than executing at a worse rate. Slippage is not user-configurable.

## Swap Status

After confirming a KaleidoSwap maker swap, the status screen tracks it through three steps:

| Step | Description |
| - | - |
| **Requesting** | The swap order is being created |
| **Atomic Swap** | The swap is executing atomically |
| **Completing** | The swap is being finalized |

When the swap finishes, the screen shows a success result. If a step fails, an error message with the failure details is shown instead. Flashnet swaps skip the tracker and show a single **Settling on Spark…** state until they settle.

> [!NOTE]
>
> If no compatible venue or pair is available, the KaleidoSwap Extension shows an empty state instead of a quote. Wallet features such as receives, sends, balances, and settings still work.

## Tips

> [accordion] Check your balance first
>
> Make sure you have enough of the source asset to cover both the swap amount and any fees.

> [accordion] Confirm quickly
>
> Quotes expire after a short period. Review and confirm promptly to avoid needing a new quote.

> [accordion] Read the failure message
>
> If a swap fails, the status screen shows an error message with the failure details.

***

> [card] [Access the Beta](https://kaleidoswap.com/products/extension/beta)
>
> Request access to the KaleidoSwap Extension closed beta.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.