Wallets & SecurityAdvanced

Sandwich attack

A trading attack that places transactions before and after another trader's trade to exploit its price movement.

PLAIN-ENGLISH DEFINITION

In more detail

An attacker tries to buy ahead of a pending swap and sell after that swap moves the price. The victim can end up with a worse execution result. Public pending transactions, available liquidity and permissive execution limits affect the opportunity; the attack is not simply any two trades around the same time.

IN THE WILD

How you might use it

Your pending swap is bracketed by an attacker's buy before it and sell afterward, exploiting the pool price movement your trade causes.

Was this clear?

Got a way to make Sandwich attack click?

Add your take

By Crypto Dictionary · Published · Updated

Go to the source

Use the original reference to explore the details behind this entry.

Read the reference

An original explanation with a reference to follow. Protocol details and community usage can evolve. Sources & standards

PASS IT TO THE GROUP CHAT

Share a definition