What is Mempool?
How it works
When a user submits a transaction, it is broadcast to the peer-to-peer network. Each node that receives the transaction first validates it—checking signatures, nonce, and sufficient balance—then adds it to its local mempool. Nodes propagate the transaction to their neighbors, ensuring it spreads across the network. The mempool acts as a temporary holding area, distinct from the confirmed blockchain state. On Bitcoin and Ethereum, mempool entries have a maximum size or age; when full, nodes drop the lowest-fee transactions.
Block producers (e.g., Bitcoin miners or Ethereum validators) assemble candidate blocks by selecting transactions from their mempool. They typically order transactions by fee rate (satoshis per byte or gwei per gas) to maximize revenue. Ethereum's EIP-1559 introduced a base fee burned per transaction and a priority fee (tip) to influence ordering. The mempool’s public nature enables third parties to observe pending transactions, which is the foundation of Maximal Extractable Value (MEV) strategies like front-running and sandwich attacks. Nodes may also implement mempool policies, such as rejecting transactions below a certain fee threshold (dust) or those with invalid chain data.
The mempool is not a single global queue—each node’s mempool can differ slightly due to propagation delays or local configuration. For example, a miner may use a private mempool or order-flow agreements to see transactions before the public mempool. On Solana, the mempool is functionally different: transactions are forwarded to a leader for immediate processing, reducing the window for MEV. Layer-2 solutions like rollups often have their own mempool architectures, sometimes batching multiple user transactions before submitting to L1.
Why it matters
The mempool is the visible frontier of transaction ordering, directly influencing user experience, fees, and fairness. It enables fee estimation tools (e.g., Ethereum's gas oracle) and allows users to prioritize urgent transactions. However, its transparency also enables MEV, where block producers or bots reorder, insert, or censor transactions for profit. Understanding the mempool helps users protect against front-running and choose appropriate fee strategies. It is central to discussions on censorship resistance, block space allocation, and the evolution of fair ordering mechanisms in DeFi.
Real-world examples
Bitcoin's mempool is publicly viewable via sites like mempool.space, showing pending transactions sorted by fee rate. Ethereum's mempool is similarly visible on Etherscan's pending transactions tab, and tools like Flashbots protect users from MEV by offering a private mempool channel. Solana's transaction processing model largely bypasses a traditional mempool, using a single leader schedule. Layer-2 solutions like Arbitrum and Optimism use sequencers that may have their own ordering policies.
FAQ
How does the mempool affect transaction fees?
Nodes prioritize transactions with higher fees, so during network congestion, users must pay more to get their transactions included quickly. Mempool depth (number of pending transactions) is a key indicator of fee market activity.
What happens if my transaction stays in the mempool too long?
Each node may drop a transaction after a certain time or if the mempool is full. The transaction is not confirmed and must be resubmitted, often with a higher fee, or replaced via a replacement transaction (e.g., RBF on Bitcoin, or re-broadcasting with the same nonce and a higher fee on Ethereum).
Can I see my pending transaction in the mempool?
Yes, most block explorers allow you to search for your transaction hash and view its status. If it appears as 'Pending' or 'Unconfirmed,' it is still in the mempool waiting to be mined.
Related terms
Go deeper
Browse the complete crypto glossary to explore related terms and concepts.
Browse Glossary