> For the complete documentation index, see [llms.txt](https://dexx.gitbook.io/dexx-zhong-wen-jiao-cheng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dexx.gitbook.io/dexx-zhong-wen-jiao-cheng/chang-jian-wen-ti/shen-me-shi-jia-zi-ru-he-kan-wo-shi-fou-bei-jia.md).

# 什么是夹子？如何看我是否被夹？

夹子机器人攻击是一种常见的在链上发生的恶意交易行为，主要利用高频交易机器人（通常称为夹子机器人或Sniping Bots）来抢占交易机会，快速买入或卖出代币，从中获利。夹子机器人通过前跑交易或操纵Gas费用来抢在普通用户之前完成交易，从而获取价格差。\
\
被夹子机器人攻击通常会同时符合以下几个条件：

1. 买入价格与前一秒价格差距过大
2. 在您的买入交易前后有一笔买入和卖出，并且为同一地址
3. 在DEXTOOLS上被标记为机器人
4. 一般夹子机器人的购买卖出金额为$6000-9000之间
5. 您的交易是买入交易

不符合以上五个条件的话大概率不是被夹子夹到，而是被其他人抢先交易将价格抬了上去。\
打开DEXX中的一键防夹模式可以有效地防止被夹子机器人攻击。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://dexx.gitbook.io/dexx-zhong-wen-jiao-cheng/chang-jian-wen-ti/shen-me-shi-jia-zi-ru-he-kan-wo-shi-fou-bei-jia.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.
