Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Shared Mempool

A shared mempool is a public, peer-to-peer network where pending transactions are broadcast and visible to all network participants before being included in a block.
Chainscore © 2026
definition
BLOCKCHAIN INFRASTRUCTURE

What is a Shared Mempool?

A shared mempool is a network-level pool of unconfirmed transactions that is accessible to multiple blockchain validators or block builders, enabling them to select and order transactions from a common source.

A shared mempool is a decentralized network component that aggregates pending transactions broadcast by users before they are included in a block. Unlike a private or local mempool, which is exclusive to a single validator, a shared mempool acts as a public, permissionless marketplace for transaction data. This architecture is fundamental to networks like Ethereum, Solana, and Sui, where it facilitates transaction propagation and ensures that builders have a broad, consistent view of network demand. The shared nature prevents information asymmetry and is a cornerstone of permissionless and censorship-resistant blockchain operation.

The primary mechanism involves nodes gossiping transactions peer-to-peer across the network. When a user submits a transaction, it is broadcast to a set of peers, who then propagate it further until it reaches block builders and validators. This creates a global pending state from which builders can select transactions based on fee priority, known as gas price or priority fee. Key protocols like gossipsub (used in Ethereum) and Turbine (used in Solana) are engineered to optimize this data dissemination for speed and reliability, minimizing latency and maximizing network throughput.

Shared mempools introduce specific challenges, most notably the risk of Maximal Extractable Value (MEV). Because all builders see largely the same set of transactions, sophisticated actors can exploit this transparency to front-run, back-run, or sandwich user trades for profit. To mitigate this, ecosystems have developed solutions like Flashbots' SUAVE, private transaction channels, and encrypted mempools, which aim to obscure transaction intent or create fairer auction mechanisms for block space without completely abandoning the shared data layer.

The design directly contrasts with a private mempool model, where a single entity or a closed consortium controls transaction flow. While private mempools can offer speed and privacy for specific users, they centralize power and can lead to censorship. The shared mempool, therefore, represents a trade-off: it upholds core decentralization principles but must constantly evolve to manage its inherent vulnerabilities, such as spam attacks and MEV, through ongoing protocol upgrades and auxiliary infrastructure.

how-it-works
BLOCKCHAIN INFRASTRUCTURE

How a Shared Mempool Works

A shared mempool is a network-level pool of unconfirmed transactions that is broadcast and synchronized across multiple blockchain nodes, forming the foundational layer for transaction propagation and block building.

A shared mempool (or transaction pool) is a decentralized, peer-to-peer network of pending transactions that have been broadcast by users but not yet included in a block. When a user submits a transaction, it is first validated by the receiving node—checking the digital signature, nonce, and sufficiency of funds—before being propagated to its peers. This gossip protocol ensures the transaction is rapidly disseminated across the network, creating a shared, albeit non-consensus, view of pending activity. Nodes maintain their own local version of this pool, evicting transactions based on factors like age, fee, and network policy.

The shared nature of the mempool is critical for network health and miner/validator efficiency. It allows block producers to select transactions from a common, extensive set, optimizing for fee revenue or other chain-specific priorities (e.g., MEV extraction). This shared liquidity of transactions prevents fragmentation and helps stabilize fee markets. However, nodes do not have perfectly synchronized views; network latency, differing policies, and transaction censorship can cause minor variations between individual nodes' mempools, a state known as mempool asymmetry.

In practice, a shared mempool enables key blockchain functionalities. It is the source for block builders assembling candidate blocks and for wallets estimating realistic transaction fees by analyzing current demand. On networks like Ethereum, auxiliary services like Flashbots' suave build upon this concept to create specialized, private channels for transaction ordering. The mempool's shared state is transient; it is cleared with each new block, as included transactions are removed, and then replenished with new pending transactions, creating a continuous cycle at the heart of blockchain operation.

key-features
ARCHITECTURE

Key Features of a Shared Mempool

A shared mempool is a network-level pool of pending transactions accessible to multiple block producers, enabling advanced transaction routing and fee market dynamics.

01

Network-Wide Visibility

Unlike isolated mempools, a shared mempool provides a global, real-time view of unconfirmed transactions to all connected validators, builders, and searchers. This transparency enables:

  • Cross-domain arbitrage opportunities.
  • More efficient transaction propagation.
  • Reduced risk of transaction censorship by any single entity.
02

MEV Extraction Surface

The shared state creates a primary arena for Maximal Extractable Value (MEV) activities. Searchers compete to identify and bundle profitable transaction orderings, such as:

  • Arbitrage between decentralized exchanges (DEXs).
  • Liquidations in lending protocols.
  • Frontrunning and backrunning user transactions. This competition is often mediated by block builders who submit complete block proposals to validators.
03

Builder-Blocker Separation

A key architectural pattern enabled by shared mempools is Proposer-Builder Separation (PBS). Here, the roles are distinct:

  • Block Builders (specialized nodes) construct optimized, MEV-rich blocks using transactions from the shared pool.
  • Block Proposers/Validators simply select the most profitable block header to sign and propose. This separation democratizes block production and reduces validator centralization risks.
04

Dynamic Fee Markets

Transaction fees are determined in real-time through competition within the shared pool. Key mechanisms include:

  • Priority Gas Auctions (PGAs): Searchers outbid each other to get their bundles included first.
  • Base Fee & Priority Fee: Protocols like EIP-1559 use the shared pool's congestion to algorithmically set a base fee, with users adding a priority tip for faster inclusion. This creates a more efficient and predictable fee market than first-price auctions.
05

Relay Networks

Relays are trusted intermediaries that facilitate the PBS model by connecting builders to proposers. They:

  • Receive block bids from multiple builders.
  • Validate block contents and attest to their validity.
  • Forward the most profitable header to the proposer.
  • Help mitigate MEV theft and malicious block attacks. Major examples include the Flashbots Relay and BloXroute.
06

Searcher & Bundler Ecosystem

The shared mempool supports a specialized ecosystem of autonomous agents:

  • Searchers: Run algorithms to detect profitable MEV opportunities.
  • Bundlers: Package multiple transactions (often including their own) into a single, atomic bundle for builders.
  • Private RPCs: Services like Flashbots Protect that allow users to submit transactions directly to builders, bypassing the public pool to avoid frontrunning.
ecosystem-usage
ECOSYSTEM PARTICIPANTS

Who Uses the Shared Mempool?

The shared mempool is a critical infrastructure layer used by various actors across the blockchain ecosystem to monitor, analyze, and interact with pending transactions before they are confirmed on-chain.

01

Validators & Block Builders

These are the primary consumers of the mempool. Validators (or miners in Proof-of-Work systems) select transactions from the mempool to include in the next block. Block builders (specialized entities in MEV-aware chains) construct optimized blocks by analyzing the mempool for arbitrage, liquidation, and other profitable opportunities. Their goal is to maximize revenue from transaction ordering and block space.

>99%
Blocks Sourced from Mempool
02

Traders & MEV Searchers

Sophisticated actors who run algorithms to scan the mempool for profitable opportunities. MEV (Maximal Extractable Value) searchers look for arbitrage, liquidations, and front-running possibilities by analyzing pending transactions. Retail traders use mempool data to gauge network congestion and estimate gas fees for their own trades, often using tools like Etherscan's pending tx view.

03

Wallets & dApp Interfaces

User-facing applications use the mempool to provide real-time feedback. Wallets (e.g., MetaMask) query the mempool to show users that their transaction is 'pending' and to provide accurate gas fee estimates. dApps monitor the mempool to update their UIs (e.g., showing a swap is 'submitted') before on-chain confirmation, improving user experience.

04

Analysts & Risk Monitors

Entities that surveil the mempool for security, compliance, and research. Protocol risk managers watch for large pending withdrawals or attacks. Blockchain analysts study transaction flow and network demand. Compliance firms may screen pending transactions for regulatory purposes. They use the mempool as a real-time data feed for on-chain intelligence.

05

RPC Providers & Infrastructure

The backbone services that broadcast and relay transactions. Public RPC endpoints (like those from Infura, Alchemy) receive user transactions and propagate them to the shared mempool. Private transaction services (e.g., Flashbots Protect, Taichi Network) may use private channels to bypass the public mempool, offering users protection from front-running and failed transactions.

06

Bots & Automated Services

Programmatic users that react to mempool events in milliseconds. Liquidation bots monitor for undercollateralized positions to trigger repayments. Arbitrage bots spot price discrepancies across DEXs. NFT minting bots snipe new collections. These automated agents create a significant portion of the high-frequency activity visible in the mempool.

visual-explainer
NETWORK LAYER

Visualizing the Transaction Flow

This section maps the journey of a transaction from user broadcast to block inclusion, focusing on the critical role of the mempool as a staging area.

A shared mempool (or transaction pool) is a network-wide, ephemeral data structure where unconfirmed transactions are broadcast, validated, and propagated by nodes before being mined into a block. It acts as a public waiting room, ensuring transactions are visible to the network's validators. When a user submits a transaction, it is first validated against the node's local rules—checking signatures, nonces, and gas fees—before being added to that node's mempool and gossiped to its peers. This creates a eventually consistent, decentralized view of pending transactions across the network.

The mempool is not a single, centralized database but a distributed and dynamic set of individual node memories. Each node maintains its own version, which can differ due to network latency, varying gas price thresholds, or custom filtering rules. Transactions compete for block space here, with miners or validators typically selecting those offering the highest priority fees (tip or priority fee) to maximize their rewards. This creates a real-time, transparent marketplace for block space, where fee estimation services analyze the mempool's composition to advise users on optimal gas prices.

Visualizing this flow reveals key bottlenecks and behaviors. During periods of high demand, the mempool can become congested, leading to backlogs and spiking gas prices. Observers can monitor pending transactions to see frontrunning attempts or analyze popular DeFi interactions. For developers, understanding mempool dynamics is crucial for designing robust applications, as transactions exist in a vulnerable state here—they can be replaced with a higher-fee version (replace-by-fee) or dropped if fees are too low, making transaction finality only certain after block confirmation.

security-considerations
SHARED MEMPOOL

Security Considerations & Risks

A shared mempool is a network-wide, publicly accessible pool of pending transactions, which introduces specific security vectors for users and network participants.

01

Frontrunning & MEV Extraction

The public visibility of pending transactions enables Maximal Extractable Value (MEV) strategies. Searchers and validators can analyze the mempool to identify profitable opportunities, such as:

  • Frontrunning: Submitting a transaction with a higher gas fee to execute before a target trade.
  • Backrunning: Executing a transaction immediately after a known large trade to capture price movement.
  • Sandwich attacks: Placing orders both before and after a victim's trade to profit from the price impact. This can lead to worse execution prices for regular users.
02

Transaction Replay & Censorship

Transactions in a shared mempool are vulnerable to being replayed on other compatible chains if they are not properly protected by a unique chain ID. Furthermore, censorship is a significant risk where powerful validators or block builders can exclude certain transactions from blocks entirely. This can be used for:

  • Regulatory compliance: Blocking transactions from sanctioned addresses.
  • Competitive advantage: Excluding transactions that compete with a validator's own arbitrage opportunities.
  • Denial-of-service: Selectively ignoring transactions from specific users or applications.
03

Time-Bandit Attacks & Reorgs

The mempool's role in block construction makes it a target for chain reorganizations (reorgs). In a time-bandit attack, an adversarial validator may attempt to rewrite recent blockchain history after seeing profitable transactions in the mempool. They would:

  1. Withhold a newly mined block.
  2. Observe the public mempool for high-value transactions.
  3. Create a new, competing block that includes those profitable transactions for themselves.
  4. Attempt to get the network to accept this new chain, invalidating the previous block. This undermines finality and trust in recent confirmations.
04

DoS Vectors & Spam

Because nodes must validate and propagate all pending transactions, the shared mempool is a primary attack surface for Denial-of-Service (DoS) attacks. Attackers can flood the network with:

  • Invalid transactions with incorrect signatures or nonce, forcing nodes to waste computational resources on validation.
  • Low-fee spam transactions to fill the mempool, increasing the base fee and crowding out legitimate users.
  • Large, complex contract calls that are gas-intensive to simulate. Defenses include mempool filtering, gas price auctions, and rate-limiting, but these can also lead to centralization pressures.
05

Privacy Leakage & Sniping

A shared mempool is inherently non-private. Every transaction is visible before confirmation, leading to significant information leakage:

  • Wallet activity: Linkage between addresses and real-world identities.
  • Trading intent: Revealing large pending trades allows competitors to react.
  • Contract interactions: Exposing the parameters of upcoming smart contract calls. This enables sniping of new token launches or NFT mints, where bots monitor the mempool for specific function calls and attempt to submit their own transaction first. Solutions include private transaction relays and commit-reveal schemes.
06

Mempool Geth vs. Erigon

Different node implementations handle the mempool with varying security and performance trade-offs, influencing network-wide risk.

  • Geth (Go-Ethereum): Maintains a single, in-memory transaction pool. It is highly performant but vulnerable to memory exhaustion attacks if flooded. Its default configuration is the network baseline.
  • Erigon: Uses a disk-backed mempool, making it more resilient to memory-based DoS attacks. However, disk I/O can introduce latency. These implementation differences mean the security and reliability of a user's transaction can depend on which client software the majority of the network is running.
MEMPOOL ARCHITECTURE

Shared vs. Private Mempools

A comparison of the core operational and security characteristics of public, shared mempools and private, off-chain relay networks.

FeatureShared (Public) MempoolPrivate Mempool / RPC

Transaction Visibility

Public to all network participants

Restricted to selected operators/validators

Primary Purpose

Default, permissionless transaction broadcast

Transaction privacy and frontrunning protection

Access Control

None (open)

Permissioned (whitelisted nodes)

Frontrunning (MEV) Risk

High

Minimized

Latency to Finality

Subject to public block-building delays

Often optimized via private channels

Fee Market Dynamics

Transparent, gas auction-based

Opaque, often negotiated off-chain

Example Implementation

Default Ethereum, Bitcoin mempools

Flashbots Protect, bloXroute Private Tx

examples
SHARED MEMPOOL

Examples in Practice

A shared mempool is a network-level pool of pending transactions, visible to all connected nodes, enabling features like transaction propagation, fee estimation, and front-running detection.

evolution
MEMPOOL ARCHITECTURE

Shared Mempool

A shared mempool is a decentralized network protocol that allows independent blockchain nodes to broadcast, receive, and gossip unconfirmed transactions, creating a common pool of pending transactions across the network.

A shared mempool is a peer-to-peer gossip network where nodes propagate unconfirmed transactions before they are included in a block. When a user submits a transaction, a node adds it to its local mempool and immediately broadcasts it to its peers. This process, often using protocols like GossipSub, ensures the transaction is rapidly disseminated. The goal is to achieve consensus on transaction availability, meaning most honest nodes see the same set of pending transactions, which is critical for fair transaction ordering and preventing certain front-running attacks. This shared state is ephemeral and distinct from the canonical blockchain ledger.

The architecture relies on a gossip protocol, where each node is responsible for relaying transactions to a subset of its connected peers. This creates a resilient and fault-tolerant mesh network without a central coordinator. Key functions include transaction validation (checking signatures and basic validity), deduplication to avoid network spam, and fee-based eviction policies when the mempool reaches capacity. In networks like Ethereum and Bitcoin, this shared pool is essential for fee market dynamics, as users and builders can see competing transactions and adjust gas fees or transaction fees accordingly to influence prioritization.

Implementing a robust shared mempool presents significant challenges. Denial-of-Service (DoS) attacks are a primary concern, as attackers can flood the network with invalid or spam transactions. Mitigations include PoW-based transaction stamps, peer reputation scoring, and rate limiting. Another challenge is mempool fragmentation, where network latency or censorship causes nodes to have different views of pending transactions, potentially leading to chain reorganizations. Projects like Flashbots' SUAVE envision a future with more sophisticated mempool separation to enable fair sequencing and privacy-preserving transaction delivery, moving beyond the traditional transparent gossip model.

SHARED MEMPOOL

Frequently Asked Questions

A Shared Mempool is a foundational component of modern blockchain infrastructure, enabling efficient transaction propagation and network-wide visibility. These questions address its core functions, benefits, and technical implementation.

A Shared Mempool is a network-level pool of pending, unconfirmed transactions that is broadcast and synchronized across all participating nodes in a blockchain network. It functions as a public waiting area where transactions are visible before they are included in a block. This shared state allows validators, searchers, and users to see the same set of pending transactions, enabling features like transaction replacement, fee estimation, and MEV (Maximal Extractable Value) extraction. Unlike a private mempool, a shared mempool promotes transparency and predictable transaction ordering by preventing nodes from having isolated, different views of pending activity.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team