# MEV 防护功能教程

**什么是MEV攻击?**

MEV攻击者通过“三明治攻击”(俗称夹子)，即抢先于用户之前购买，待用户购买后进行出售，实现套利。&#x20;

**如何预防MEV?**&#x20;

为了道免交易被MEV攻击，可以将交易发送到一些隐私节点 （如Flashbots)，以确保您的交易被正常执行。而一般交易发往隐私节点，需要等待交易上键了才可确认其状态，因此交易会慢一点。

**TokenPocket推出MEV防护功能将减少滑点和避免MEV 攻击，使交易更安全。**

**注意：**

1. &#x20;MEV防护在“兑换”功能中使用。
2. MEV防护暂不能支持智能钱包和多签钱包。
3. 目前支持以太坊和币安智能链。

## 教程 <a href="#id-0" id="id-0"></a>

以币安智能链为例

1. 选择币安智能链，点击【闪兑】

<figure><img src="/files/hvhpmbzKMTTNDnwC3T1Y" alt=""><figcaption></figcaption></figure>

2. 点击右上的【设置】图标，选择【MEV防护】。

<figure><img src="/files/kUpnSJiN4kSxCetRyfn5" alt=""><figcaption></figcaption></figure>

3. 向右滑动 \[开启 MEV 防护] 按钮，将显示 \[MEV 防护] 已打开。

<figure><img src="/files/EQj6A4ZVkvW5Jzp4HTFE" alt=""><figcaption></figcaption></figure>

**注意： MEV 保护目前不支持智能钱包和多重签名钱包。**

打开 TokenPocket 插件钱包，点击左上方小圆点，在节点列表中看到包含 MEV的节点就是带有防MEV的节点，也可以点击底部的添加自定义节点来使用第三方可信的防MEV节点。

<figure><img src="/files/HH9nVijQQwI89tZZHikH" alt=""><figcaption></figcaption></figure>


---

# 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://help.tpwallet.io/cn/security-knowledge/protective-measures/mev.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.
