Digital Asset Database Digital asset research & education
BTC$77,903+0.47% ETH$2,408-0.54% USDT$0.9996-0.01% BNB$698.19+1.45% XRP$1.37+1.63% USDC$0.9998+0.00% SOL$100.79+0.75% TRX$0.3262+0.94% FIGR_HELOC$1.01-2.00% HYPE$82.20-0.55% ZEC$831.29-0.47% DOGE$0.0832+1.64% RAIN$0.0167-1.08% USDS$0.9997-0.01% XMR$513.87-1.13% LEO$9.30+0.18% WBT$71.34+0.02% LINK$11.24+0.04% ADA$0.2061+4.48% XLM$0.1769+1.03% BCH$250.98+1.28% DAI$0.9998+0.01% CC$0.1099-3.17% USDE$0.9994-0.01% USD1$0.9994+0.00% LTC$50.42+2.27% GRAM$1.34+1.30% UNI$5.74-9.40% HBAR$0.0761+2.70% USDG$1.00+0.02% SUI$0.7726+6.47% AVAX$7.29+0.93%
Menu
Home
Assets All assetsSectorsRankingsHeat mapScreenerCompare assets★ Saved
Fundamentals Fees & revenueValue lockedExchange volumeNetwork activityStablecoinsStaking & yield
Valuation Valuation ratiosSupply & issuanceMetric definitions
Institutional Exchange-traded productsCorporate treasuries
Research Research notesEvents calendarRisk frameworkSecurity incidents
Learn Learn libraryGlossaryCalculatorsMethodologyData sourcesData freshnessAI agentsPublic API
News Ask the data Global market About us
Reading options
Photography CryptoStudio
Guided view

New to markets — prices, yields, market cap? We explain every term as you browse, in plain English. Same data, with the help built in.

Expert view

You already know the market. Just the data — clean, fast and compact, with no extra explanations. This is the default view.

Light or dark
Language
Public API

Every figure on this site is available as JSON, with its period and source attached.

Read the API docs
Definition sandwichingswap sandwich

Sandwich Attack

Placing one trade immediately before and another immediately after someone else's swap, so their trade moves the price in your favor.

On an automated market maker, price is a function of the pool's balances, so a trade of known size has a predictable effect. An attacker who sees a pending swap buys first, pushing the price up, lets the victim's swap execute at the worse price, then sells into the pool immediately afterward. The profit comes directly out of the difference between the price the victim expected and the worst price they were willing to accept, which is set by their slippage tolerance. Defenses are setting slippage as tightly as execution allows, routing through private relays that keep the transaction out of the public mempool, splitting large orders, and using venues that batch orders and clear them at a uniform price.

In practice

Raising slippage tolerance to make a stubborn swap succeed enlarges exactly the window a sandwich can capture, which is why failed transactions are sometimes the cheaper outcome.

The common misunderstanding

That slippage tolerance only decides whether a trade succeeds or fails, when it also sets the maximum amount a sandwich can extract from that trade.

02

Related terms

Front-Running Seeing a pending transaction and placing your own ahead of it to profit from the price move it will…
Liquidity Risk The risk that a position cannot be traded at a reasonable price because there are not enough…
Oracle Failure When the outside data a blockchain application depends on, usually a price, is wrong, delayed, or…
03

Lessons that use it

Assets

All assetsSectorsRankingsHeat mapScreenerCompareSaved

Fundamentals

Fees & revenueValue lockedExchange volumeNetwork activityStablecoinsStaking & yield

Valuation & risk

Valuation ratiosSupply & issuanceMetric definitionsRisk frameworkSecurity incidents

Institutional

Exchange-traded productsCorporate treasuriesEventsResearch notesNews

Learn

Learn libraryGlossaryCalculatorsAsk the dataAI agentsPublic API

About

About usContactMethodologyData sourcesEditorial policyData freshness

Legal

DisclaimersTerms of usePrivacy policy