Skip to content
Y News

Crypto markets, protocols and regulation

How Does Atomic Arbitrage vs CEX-DEX Arbitrage Differ in MEV?

After a price move creates an opening, atomic arbitrage earns on-chain by completing every trade leg in one transaction, while CEX-DEX arbitrage buys or…

The Y News Editors4 min read

How Does Atomic Arbitrage vs CEX-DEX Arbitrage Differ in MEV?

After a price move creates an opening, atomic arbitrage earns on-chain by completing every trade leg in one transaction, while CEX-DEX arbitrage buys or sells on a DEX and hedges on a centralized exchange. The key difference is that atomic trades either succeed together or revert together; CEX-DEX trades depend on a separate hedge and carry price risk between venues.

Atomic arbitrage settles every leg in one transaction

Atomic arbitrage moves an asset between markets in one on-chain transaction, keeping the trade only when the combined swaps are profitable. Say ETH is cheaper in Uniswap pool A than in pool B: a searcher buys ETH in A, sells it in B, and sets the transaction to revert if the proceeds do not cover the cost and required payments. Because all legs execute together, the searcher does not end up holding ETH from only the first swap if the second leg fails.

Flashbots Auction lets searchers submit these trades as bundles for builders to consider. A reverting bundle is not included, so it pays no gas. In practice, that makes transaction-level execution useful when the searcher needs the entire route to work at once. Flashbots matters here because bundle delivery gives the searcher a way to present that all-or-nothing trade for block inclusion.

Atomic arbitrage usually needs little of the searcher’s own capital because a flash loan can provide the assets for the swaps and gets repaid within the same transaction. The profit is visible in the transaction’s token balance changes: the starting asset returns, and the surplus remains after repayment and any builder payment. The route still competes with other searchers for execution, but the trade itself has no price risk between its legs.

CEX-DEX arbitrage needs inventory and a separate hedge

CEX-DEX arbitrage trades across an on-chain DEX and an off-chain centralized exchange, so the legs do not settle as one transaction. Suppose ETH rises on a centralized exchange before a Uniswap pool catches up. The searcher buys ETH from the lagging, cheaper pool and sells it on the exchange. To do that quickly, the searcher needs funded accounts and available inventory on both venues.

The separation creates hedge risk: the DEX purchase may land, but the exchange sale may be delayed, filled at a different price, or fail. The searcher then holds ETH while its price can move. Unlike an atomic route, the DEX trade cannot revert just because the off-chain hedge went badly.

That separation also makes CEX-DEX profit harder to read from chain data. An atomic trade’s net result can be calculated from one transaction’s balance changes. In a CEX-DEX trade, the on-chain leg may show stablecoins spent to buy ETH, while the sale proceeds and any profit sit in the exchange account. A dashboard that sees only the DEX transaction can label the swap a loss or miss the profit altogether.

To estimate the full result, match the on-chain swap with the exchange fill, fees, and any inventory changes. The DEX transaction identifies when and where the searcher traded on-chain; it does not by itself establish the total cross-venue profit.

Block position shapes CEX-DEX delivery and cost

CEX-DEX searchers often need a top-of-block position immediately after the centralized exchange price moves, while the DEX pool still reflects the old price. Landing later can let another trade update the pool first and erase the gap. Searchers may therefore pay builders heavily for priority or operate a builder themselves, as Titan Builder does, to control block construction.

MEV-Boost connects validators with external builders that compete to provide blocks. The builder payment is part of the searcher’s cost of securing a useful position; the searcher’s net profit depends on what remains after that payment, exchange and DEX fees, and hedge outcomes.

Related

What is a backrun in MEV?

A backrun is a transaction placed after another transaction in the same block to act on the market change it creates. An arbitrage searcher may backrun a large swap that shifts a pool price, buying in the newly cheaper market and selling where the price has not yet adjusted.

Why do arbitrage searchers pay most of their profit to builders?

Searchers bid for block space because the best arbitrage can disappear when another transaction changes the price or another searcher takes the opening. A high builder payment can win the needed position, but it reduces the searcher’s remaining profit. The exact share varies with competition and the value of the opportunity.