# トークンのスワップ方法

Byrealでのトークンスワップは、数クリックで完了します。Byrealは、ネイティブCLMMプール、オフチェーンRFQクオート、およびRaydium、Orca、Meteoraなどのサードパーティアグリゲーターを含む複数のスワップモードを通じて、最適な価格と約定経路を自動的に選択します。

## ステップバイステップ：初めてのスワップ

{% stepper %}
{% step %}

#### ウォレットを接続

[Byreal.io](https://byreal.io/)にアクセスし、Solanaウォレット（Phantom、Solflare、Backpack、またはその他の対応ウォレット）を接続します。
{% endstep %}

{% step %}

#### トークンを選択

売りたいトークン（入力）と受け取りたいトークン（出力）を選択します。名前、ティッカー、またはトークンのコントラクト（ミント）アドレスの貼り付けで検索できます。
{% endstep %}

{% step %}

#### 数量を入力

売買したい数量を入力します。Byrealが最適なルートを即座に計算し、予想される出力数量を表示します。
{% endstep %}

{% step %}

#### 取引の詳細を確認

確認する前に、予想出力、ネットワーク手数料、プライスインパクト、スリッページ許容範囲を確認します。これらはスワップインターフェースに明確に表示されます。
{% endstep %}

{% step %}

#### 確認してスワップ

**Buy**または**Sell**をクリックし、ウォレットでトランザクションを承認します。確認後、トランザクションはSolanaネットワークに送信され、オンチェーンで完了すると通知が届きます。
{% endstep %}
{% endstepper %}

## Byrealが最適な価格を見つける仕組み

Byrealのデュアル・エグゼキューション・エンジンは、複数の流動性ソースをリアルタイムで評価し、最適な経路で取引をルーティングします：

* **オンチェーン約定（AMM）：** Byrealのネイティブ CLMMプールおよび外部AMM集約（Raydium、Orca、Meteora）を通じてルーティングします。プール固有のスワップ手数料（例：0.01%、0.10%、0.20%）と少額のSolanaネットワーク手数料がかかります。
* **オフチェーン約定（RFQ）：** 対応するペアと取引サイズの場合、ByrealはオフチェーンのマーケットメーカーやCEXオーダーブックに直接接続します。RFQクオートはプライスインパクトゼロ、スリッページゼロ、ガス代ゼロで、確定された保証価格を提供します。
* **外部集約：** Byrealは主要なSolana AMMからも価格を取得し、最も深い流動性と最適なレートを確保します。


---

# 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.byreal.io/ja-jp/trade/how-to-swap-tokens.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.
