Transaction Ordering
Web3 / blockchain technology
The process by which validators, miners, or sequencers determine the sequence in which pending transactions are included in a block, which has significant implications for fairness, efficiency, and value extraction in blockchain networks. In proof-of-work Bitcoin, miners typically prioritize transactions by fee rate (satoshis per byte). In Ethereum, transaction ordering within a block is controlled by validators who can reorder, insert, or censor transactions to capture Maximal Extractable Value (MEV)—profit from strategically placing their own transactions before or after users' transactions to exploit price movements. MEV exploitation includes front-running DEX trades, sandwich attacks, and arbitrage. Ethereum's PBS (Proposer-Builder Separation) and mechanisms like Flashbots' MEV-Boost were developed to mitigate the most harmful MEV practices. L2 sequencers add another dimension, as centralized sequencers for rollups have significant power over transaction ordering. Example: A MEV bot observing a large ETH-to-USDC swap in the mempool can submit its own buy order with higher gas to front-run the trade, profiting from the price impact it caused, then selling after the victim's trade executes—a sandwich attack enabled by controlling transaction ordering. Why it matters for Web3: Transaction ordering determines who captures value in blockchain networks and whether users receive fair execution. MEV is a multi-billion dollar annual industry that represents a significant hidden cost to ordinary users and a major area of ongoing protocol research.
Explore the full Web3 Glossary — 2,000+ expert-curated definitions. Need guidance? Talk to our consultants.