Crypto / Evergreen
On-chain arbitrage connects prices through executable trades
An arbitrageur trades across markets whose prices differ enough to cover transaction fees, execution costs, and risk, potentially bringing the markets' relative prices closer together.
An arbitrage opportunity is a feasible sequence of state-dependent trades, so price convergence and profit depend on actual execution rather than a visual quote discrepancy.
The distinction that matters
An arbitrageur trades across markets whose prices differ enough to cover transaction fees, execution costs, and risk, potentially bringing the markets' relative prices closer together. Transaction ordering has economic value when one action changes the conditions under which another executes. Maximal extractable value describes value obtainable through inclusion, exclusion, or ordering choices around block production. Searchers, builders, validators, routers, and users can participate in different parts of that process.
How the mechanism works
The opportunity is defined by a complete executable cycle, not merely by two quoted spot prices. Trade size changes pool prices, routes consume gas, and competing searchers can remove the opportunity before a transaction is included. Their roles should not be collapsed into one actor. Some ordering activity performs useful arbitrage or liquidation, while other strategies worsen a user's execution or exploit information revealed before settlement. The effect depends on the mechanism and the available protections. An analysis should identify the profitable sequence, who controls each step, and which user's outcome differs from a clearly stated alternative.
A worked situation
Consider this hypothetical situation: A hypothetical asset is cheaper in one pool than another, and a searcher buys in the first while selling the acquired amount in the second within one atomic transaction. The trade succeeds only if the combined proceeds cover its costs and any encoded profit condition. If market state changes first, the transaction may revert or no longer be worth submitting under the searcher's strategy.
Where interpretation can fail
Arbitrage can improve price alignment while still involving intense competition for ordering and inclusion. Its existence does not establish that every observed profit came at the expense of a particular ordinary user's authorized trade. Calculate the full route with realistic sizes, pool fees, gas, and state changes. Distinguish the initial price difference from the average execution prices achieved along both legs. An arbitrage opportunity is a feasible sequence of state-dependent trades, so price convergence and profit depend on actual execution rather than a visual quote discrepancy.
The wider technical implication
Atomic execution can reduce the risk of completing only one leg, but it does not eliminate gas cost or competition for the opportunity. The transaction can fail after another actor changes state. A searcher's expected result must therefore account for unsuccessful attempts as well as the profit printed by winning transactions.
A global perspective
The legal treatment of trading, ordering practices, and market manipulation varies by jurisdiction and facts. A technical description does not determine legality.
Sources & further reading
Ethereum.org — Maximal extractable value ↗Uniswap documentation — Swaps ↗Sources checked Oct 27, 2026. Educational examples. Historical observations are attributed to their sources. No affiliation with cited organizations.
Make the idea stick.
Mark complete when you are ready. Reaching the end alone does not mark a lesson complete.
What assumption in this guide would change the result in a different situation? Revisit the example and explain that change in your own words.
Explore crypto →