Skip to main content

Mempool

What is the mempool in blockchain?

The pool of unconfirmed transactions waiting to be included in a block. When a transaction is submitted, it enters the mempool until a validator selects it. Because the mempool is public and accessible via any RPC connection, MEV bots can observe pending transactions and react before they confirm, enabling front-running, back-running, and sandwich attacks. Gas price determines priority: higher fees jump the queue; low-fee transactions can wait hours or be dropped.

The mempool is public by design, and that is both the feature and the exposure. Open propagation is how any node can verify and relay a pending transaction without asking permission. It also means a broadcast transaction is a public statement of intent, complete with its price impact, sitting in the open for the seconds before it settles.

That gap is where extraction happens. A large swap announces exactly what it will do to a pool before it does it, and anyone watching can trade ahead of it, behind it, or both. The transaction is not leaked. It is published, which is a considerably harder problem to design around.

The response has been to route around the public queue entirely. Private endpoints such as Flashbots Protect send transactions straight to block builders instead of broadcasting them, and since the Merge in September 2022 the large majority of Ethereum blocks have been assembled by a small set of specialist builders. A growing share of transaction flow now never appears in the public mempool at all.

Equity markets arrived at the same place decades earlier, when visible order flow pushed institutional size into dark venues. The practical question for a wallet holder is narrow. For any trade large enough to move a price, know whether your wallet broadcasts publicly or privately, and what the private route asks of you in return.