§ 3.2 · Fees & Gas · 4 min
Mempool Mechanics: Where Transactions Wait
Between signing and inclusion, every transaction waits in a mempool. How mempools work, why there is no single mempool, and how fees decide who gets in first.
When you press "send" in a wallet, your transaction does not go straight into a block. It goes into a waiting room — the mempool, short for memory pool — where it sits alongside thousands of other pending transactions until a miner or block builder picks it up. How long it waits, and whether it is picked up at all, depends on how mempools work and on what you offered to pay.
This chapter walks through the mempool from submission to inclusion, and explains a few of its less obvious properties.
There is no single mempool
The phrase "the mempool" suggests one global queue. In reality, every node keeps its own. When your wallet broadcasts a transaction, it sends it to one or more nodes. Each node checks it — valid signature, sufficient balance, correct format, enough fee to be worth relaying — and if it passes, stores it in its local mempool and forwards it to its peers. Within seconds, the transaction has usually propagated across most of the network.
Because propagation is fast, mempools across the network tend to look similar. But they are never identical: nodes have different size limits and policies, transactions arrive at different nodes in different orders, and some transactions never reach some nodes at all.
Admission and eviction
Mempools have limited space, so nodes enforce rules about what to keep:
- Minimum fees. Transactions paying below a node's minimum relay fee are rejected outright.
- Size limits. When a mempool fills up, the node evicts the lowest-paying transactions to make room for better ones. Bitcoin Core's default mempool is capped at 300 MB.
- Expiry. Transactions that wait too long are dropped. Bitcoin Core's default expiry is two weeks.
The consequence is that a low-fee transaction during a busy period can be evicted from many nodes' mempools and effectively disappear, even though it was never rejected by the chain itself.
How fees decide the order
Block producers want to maximise their revenue, so they fill blocks with the transactions that pay the most for the space they use.
On Bitcoin, space is measured in virtual bytes, so the key number is the fee rate in satoshis per virtual byte. A miner sorts the mempool by fee rate and fills the block from the top. A transaction's absolute fee matters less than its fee per byte.
On Ethereum, space is measured in gas. Since the London upgrade, a transaction specifies a maximum total fee per gas and a maximum priority fee — the tip — per gas. Each block has a protocol-set base fee that is burned; the producer collects the tip. Transactions whose maximum fee is below the current base fee cannot be included until the base fee falls.
Fee rates and base fees over time are charted for six chains on the Wevr.ai chart explorer, which makes the rhythm of congestion easy to see.
Dependencies and ordering
Transactions can depend on each other. On Bitcoin, a transaction can spend an output created by another unconfirmed transaction; the child cannot be included without the parent. Miners evaluate such packages together, which enables a technique called child-pays-for-parent: a recipient stuck behind a low-fee parent can attach a high-fee child to pull both into a block.
On Ethereum, the nonce creates strict ordering per sender. A transaction with nonce 5 cannot be included before nonce 4. Clients typically separate a pending pool, of transactions ready to execute, from a queued pool, of transactions waiting for an earlier nonce. One stuck transaction with a low fee blocks every later transaction from the same account.
The public mempool is not the whole story
On Ethereum especially, a significant share of transactions never touches the public mempool. Users and applications send transactions privately to block builders to avoid front-running and sandwich attacks — techniques where others see a pending trade and position around it to extract value, known as MEV. Builders assemble blocks from public and private flow, and validators choose among builders' blocks.
That means the public mempool shows you much of the demand for block space, but not all of it. Blocks frequently contain transactions that were never publicly visible before inclusion.
Watching the mempool in practice
A few practical lessons follow from all of this:
- Fee estimates are forecasts. Wallets estimate fees from recent blocks and the current mempool; when demand surges, those estimates lag.
- Stuck is not lost. A low-fee transaction can usually be accelerated — by replacing it with a higher fee, covered in our chapter on replace-by-fee, or, on Bitcoin, by spending its output with a high-fee child.
- Visibility varies. Different services connected to different nodes will show slightly different mempools.
To see how waiting time translates into confirmation, compare a transaction's broadcast time with the block it landed in using the Wevr.ai live tables — the gap is the mempool at work.
The takeaway
The mempool is many waiting rooms, one per node, kept roughly in sync by gossip. Admission, eviction and ordering are governed by fees relative to space — fee rate on Bitcoin, base fee plus tip on Ethereum — with dependencies and private order flow complicating the picture. Understanding it explains why fees spike, why transactions get stuck, and why a block sometimes contains transactions nobody saw coming.