Technical Definition

Sandwich Attack

A sandwich attack is a DeFi trading attack where a bot places one trade before and one trade after a user’s transaction.

By Crypto University Editorial
MEVSlippageLiquidity Pool

Key Insight

It can make users receive worse prices on swaps.

Common Misconceptions

Setting slippage tolerance too high or trading in thin liquidity pools.

Detailed Explanation

How It Works

The bot buys before your trade, your trade pushes price higher, then the bot sells after you.

FAQs

How can I reduce sandwich risk?
Use lower slippage, trusted routing, and MEV protection tools.

In Practice

You swap a token with high slippage tolerance. A bot detects it and extracts value from your transaction.

Dig Deeper

Get a $100K funded account

Ad

Get a $100K funded account

See current qualification terms and payout conditions.

View Offer

Sponsored