# 兑换

{% hint style="info" %}
默认0.5%滑点大多数时候无需调整，除非您的代币有买卖税。
{% endhint %}

{% hint style="warning" %}
兑换预览显示的是税前数额，如果您的代币有买卖税，实际到手的会少一些。
{% endhint %}

冰淇淋[兑换](https://icecreamswap.com/swap)支持[多链](/zh/intro/multichain.md)，允许您在同一区块链网络上交易两种代币，如 CORE 链的 USDT -> ICE。

请参考小狐狸钱包的操作步骤先[连接冰淇淋](/zh/get-started/setup-wallet/metamask.md#connect)，然后选择**交易**，进入**兑换**界面。

### 批准代币

如果是首次兑换某个代币，请参考以下步骤**批准**以授权冰淇淋平台访问您的代币。

<div><figure><img src="/files/8ogl9YdmupRpCB5JOtxI" alt=""><figcaption><p>步骤1：选择<strong>交易</strong>，进入<strong>兑换</strong>主界面</p></figcaption></figure> <figure><img src="/files/GJvH0zOfnApyenJRq6CM" alt=""><figcaption><p> 步骤2：点击<strong>批准 ICE</strong></p></figcaption></figure> <figure><img src="/files/BSLPxfaKCHgsBKDgbN5x" alt=""><figcaption><p>步骤3：在钱包中点击<strong>批准</strong>以授权冰淇淋访问您的 ICE</p></figcaption></figure> <figure><img src="/files/zgEqCeUBjjptoCNgITLO" alt=""><figcaption><p>步骤4：兑换功能已启用</p></figcaption></figure></div>

### 兑换

下面的例子展示的是从 CORE 兑换 ICE，基本适用于其他链的其他代币。注意在步骤2中，兑换预览显示的是税前数额，如果您的代币有买卖税，实际到手会少一些。

<div><img src="/files/8ogl9YdmupRpCB5JOtxI" alt="步骤1：选择交易，进入兑换主界面"> <figure><img src="/files/f1Ibegr9r0ZM0QqEnXkq" alt=""><figcaption><p>步骤2：设定需要兑换的金额，然后点击<strong>兑换</strong></p></figcaption></figure> <figure><img src="/files/mPftrYgO04pTz5LJg5mp" alt=""><figcaption><p>步骤3：点击<strong>确认兑换</strong></p></figcaption></figure> <figure><img src="/files/OeZ5M3Ve8tYyvs8QBrle" alt=""><figcaption><p>步骤4：在钱包中点击<strong>确认</strong></p></figcaption></figure> <figure><img src="/files/ac3rJZrJdJo5Y7rY511T" alt=""><figcaption><p>步骤5：兑换完成，可选择将代币导入钱包</p></figcaption></figure></div>

### 实用功能

兑换界面还提供价格走势图，复制合约地址，添加代币，设定兑换参数如滑点等实用贴心的小功能。

<div><figure><img src="/files/Z1PrFdfKnGie0pm0xjfK" alt=""><figcaption><p>点击<strong>柱状图标</strong>以查看价格走势图</p></figcaption></figure> <figure><img src="/files/juU64BaEasLRU2Z1slwv" alt=""><figcaption><p>价格曲线图</p></figcaption></figure> <figure><img src="/files/hl1fashEBON95w15MSGv" alt=""><figcaption><p>复制代币合约地址</p></figcaption></figure> <figure><img src="/files/Yq3XWxozEgl6doyxD4am" alt=""><figcaption><p>添加代币到钱包</p></figcaption></figure> <figure><img src="/files/HWJZp326jRhC59JPCbyi" alt=""><figcaption><p>设置兑换参数</p></figcaption></figure></div>

## 滑点 <a href="#slippage" id="slippage"></a>

滑点是指下单时，交易点位与实际交易点位有价格差别的一种交易现象。默认的0.5%滑点适用于绝大多数情况，无需改变。但是如果您的代币有买卖税，则需要设定比买卖税更高的滑点以确保交易成功。

<div><figure><img src="/files/HWJZp326jRhC59JPCbyi" alt=""><figcaption><p>点击<strong>齿轮图标</strong>进入设定滑点</p></figcaption></figure> <figure><img src="/files/AUthElcrOk87mSf1xzY3" alt=""><figcaption><p>默认滑点为0.5%适用于绝大多数情况</p></figcaption></figure> <figure><img src="/files/QohLMzJdnkaH9JEC6NwM" alt=""><figcaption><p>如您的代币有买卖税，请根据需要需设定滑点，如10%</p></figcaption></figure></div>


---

# 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://wiki.icecreamswap.com/zh/dex/swap.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.
