← The Library

The Invisible Auction: Maximal Extractable Value in Blockchain Consensus

Team Ilm Ora · 18 October 2026

Blockchain & Web3

When you send money or buy something on a public digital ledger called a blockchain, your order does not go directly into the permanent record book right away. Instead, it waits in a public digital holding room called a mempool, where computer operators called validators collect waiting requests and write them into official blocks of data. Because these validators have total freedom to decide which waiting orders go first, second, or last, they can reorder requests to make extra money for themselves. This hidden profit technique is known as Maximal Extractable Value, or MEV. What began as a simple way for computer operators to earn extra tips has turned into a high-speed game where automated trading bots cut in line, raising prices for regular people.

How Bots Cut in Line to Trap Your Trades

To see how this line cutting works in real life, imagine buying a plane ticket online. While your order is processing, a bot sees your request, buys the ticket milliseconds before you do, and instantly sells it back to you at a higher price. In the crypto world, this trick is called a sandwich attack. When a bot spots a large buy order sitting in the public waiting room, it pays a small extra fee to place its own buy order before yours. Your big purchase then drives the market price up. Immediately after your purchase goes through, the bot sells its coins at the new, higher price. Your order gets sandwiched between the bot's two moves, forcing you to pay more while the bot walks away with risk-free profit.

Separating Block Builders from Block Choice

As these trading bots flooded the network with millions of high-speed attempts to cut in line, they slowed down the entire blockchain and raised transaction costs for everyone. To fix this, blockchain developers created a system called Proposer-Builder Separation, or PBS. In this setup, the job of building a block is split into two parts. Specialized computer operators called builders collect all the waiting orders and arrange them into the most profitable sequence possible. They then put the completed block into a sealed digital envelope and offer it to the validator. The validator simply picks whichever sealed block pays the highest reward, without ever seeing the individual trades inside until the block is published. This keeps the network organized and prevents chaotic spam.

The Danger of Re-writing Digital History

While separating builders from validators helped organize the network, this hidden profit system still creates long-term risks. A few powerful builder companies now package most of the world's blockchain blocks, creating central points of control. In extreme cases, if a line cutting opportunity is worth millions of dollars, dishonest computer operators might be tempted to launch a time-bandit attack. This happens when operators use massive computing power to erase and rewrite recent blocks in the digital record book just to steal a huge profit opportunity from the past. Overwriting past records threatens the public trust that holds decentralized money together.

Hiding Waiting Orders in Encrypted Vaults

To protect everyday users from predatory bots, researchers are building digital shields called encrypted mempools. In an encrypted mempool, your transaction details are locked inside a mathematical vault before leaving your phone or computer. The trading bots and block builders can see that an order is waiting, but they cannot read what you are buying or how much you are paying. The order remains locked while waiting in line and is only decrypted after its place in the block is permanently locked in stone. By hiding order details until it is too late for bots to cut in line, encrypted vaults keep digital markets fair and affordable for everyday users.

Public digital networks promise an open playing field for everyone, but keeping markets fair requires building strong shields against hidden algorithms that profit from stepping in front of regular people.