# 兑换

兑换（或市价单）会以当前市场价格立即执行。

要设置兑换，请选择您要“支付”的币种和您希望作为兑换结果“获得”的币种：

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

现在输入金额。您可以设置要支付的币种的精确金额（在这种情况下我们将计算您将获得多少另一种币），或者设置要获得的币种的精确金额（在这种情况下我们将计算您需要支付多少另一种币）。

一旦输入金额，我们将构建最优路由，在 Uniswap 或 PancakeSwap 池中执行您的兑换，并计算您将获得的币数量（如果设置了“支付”金额）或将要支付的币数量（如果设置了“获得”金额）。

我们还会向您显示兑换的预期执行价格和预期的手续费（以美元计）：

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

请注意，预期执行价格可能与图表上看到的“最后价格”有所不同。预期执行价格考虑了您的订单可能产生的价格影响和池费用。

如果您想了解更多细节，可以展开路由部分：

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

**价格影响** - 表示您的订单将使代币价格移动多少。\
在流动性较差的代币上，大额订单会对价格产生更大影响。

**最大滑点** - 如果市场波动导致您实际收到的代币数量比预期数量少达该百分比或更多，兑换将被回退。默认设置为 5%，如有需要可以手动更&#x6539;*.*

**兑换费用** - goodcryptoX [费用](/goodcryptox-zh/sheng-tai-xi-tong/dex-dui-huan-shou-xu-fei.md) 包含所有折扣。

**网络费用** - 此次兑换的预期 gas 成本。

**订单路由** - 兑换将被路由到哪些池，以及按何种比例路由。

您可以为每次兑换附加一个 [止损](/goodcryptox-zh/dex-jiao-yi-xian-huo/shou-dong-ding-dan/zhi-sun.md) 和/或 [止盈](/goodcryptox-zh/dex-jiao-yi-xian-huo/shou-dong-ding-dan/zhi-ying.md) ：

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

完成设置后，点击“确认兑换”将您的兑换发送到交易所。在系统等待执行时，您将在“确认兑换”按钮上看到加载器。一旦您的兑换被确认，它将出现在图表下方的“订单”列表中，向您显示作为兑换结果您支付/收到的代币数量及其实际执行价格：

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

您可以点击它以展开兑换详情：

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

您可以在此看到您的实际 [手续费（gas）成本](/goodcryptox-zh/qian-bao/nei-zhi-qian-bao/gas-fei-yong.md)，以及我们收取的 [兑换手续费](/goodcryptox-zh/sheng-tai-xi-tong/dex-dui-huan-shou-xu-fei.md) ，您的订单的实际路由及其价格影响。如果有任何交易与您的兑换一起 [批处理](/goodcryptox-zh/qian-bao/nei-zhi-qian-bao/zhi-neng-he-yue-qian-bao/jiao-yi-pi-chu-li.md) （例如代币支付授权）— 它们也会在此处显示。&#x20;

我们还提供在区块链浏览器上查看您兑换的链接。jiffyscan 针对智能合约钱包交易进行了定制。如果您想深入了解 [以便理解](/goodcryptox-zh/qian-bao/nei-zhi-qian-bao/zhi-neng-he-yue-qian-bao/jie-xi-scw-dui-huan.md) 所有细枝末节——这里是最佳去处。


---

# 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.goodcrypto.app/goodcryptox-zh/dex-jiao-yi-xian-huo/shou-dong-ding-dan/dui-huan.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.
