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

Mempool (Transaction Pool)

A mempool, or transaction pool, is a node's locally stored collection of pending, unconfirmed transactions that have been broadcast to the network and are awaiting inclusion in a block.
Chainscore © 2026
definition
BLOCKCHAIN INFRASTRUCTURE

What is a Mempool (Transaction Pool)?

A mempool, short for memory pool, is a critical data structure in blockchain networks that holds pending, unconfirmed transactions.

A mempool (memory pool) is a node's temporary holding area for validated but unconfirmed transactions. When a user broadcasts a transaction, it is first received by peer nodes and placed in their individual mempools. These nodes then propagate the transaction across the peer-to-peer network. The mempool acts as a decentralized waiting room, where transactions await selection by a block producer (e.g., miner or validator) for inclusion in the next block. Each node maintains its own view of the mempool, which can vary slightly across the network due to propagation delays.

The mempool is a dynamic marketplace that determines transaction priority. Users can influence this by paying a higher transaction fee (often measured in gas price or fee rate). Block producers, incentivized by these fees, typically select transactions with the highest fees to maximize their rewards, leading to fee market dynamics. During periods of high network congestion, the mempool can become backlogged, causing delays for low-fee transactions. Analysts monitor mempool size and fee rates as key on-chain metrics to gauge network activity and predict confirmation times.

From a technical perspective, a mempool is not a single, unified entity but a distributed concept. Each node implements its own mempool logic with configurable parameters, such as memory limits and eviction policies. Nodes may drop the lowest-fee transactions if the pool becomes full. Furthermore, mempools are essential for transaction replacement (Replace-By-Fee) and certain DeFi arbitrage strategies, where bots monitor for profitable opportunities among pending transactions. Understanding mempool behavior is crucial for developers building wallets, estimating fees, and designing robust decentralized applications.

how-it-works
BLOCKCHAIN INFRASTRUCTURE

How the Mempool Works

The mempool is the critical waiting room for unconfirmed transactions before they are permanently recorded on the blockchain.

A mempool (short for memory pool) is a node's temporary, local storage for pending transactions that have been broadcast to the network but not yet included in a block. When a user submits a transaction, it is propagated peer-to-peer and lands in the mempools of listening nodes. Each node maintains its own version of the mempool, which acts as a dynamic, unsorted list where transactions await validation and block inclusion. The contents can vary slightly between nodes due to network latency and individual node policies.

The primary function of the mempool is to serve as a source of candidate transactions for block producers (miners or validators). These actors select transactions from their local mempool, typically prioritizing those with the highest transaction fees, to assemble into the next block. This creates a competitive fee market; users can pay higher fees to incentivize faster inclusion. Nodes continuously validate transactions in the mempool, checking for double-spends, correct signatures, and adherence to protocol rules, dropping any that are invalid.

Mempool dynamics are central to network congestion and fee estimation. During periods of high demand, the mempool 'fills up,' leading to backlogs and rising fee prices as users outbid each other. Fee estimation tools analyze the current mempool's size and fee distribution to recommend appropriate gas prices. When a transaction is successfully mined into a block, it is removed from the mempools across the network. Understanding mempool activity provides real-time insight into blockchain network load, transaction finality expectations, and economic conditions.

key-features
MECHANICS

Key Features of a Mempool

A mempool (memory pool) is a node's holding area for unconfirmed transactions. It is a critical, decentralized component of blockchain networks that manages transaction flow before final inclusion in a block.

01

Transaction Validation & Propagation

Upon receiving a transaction, a node performs initial validation against the network's consensus rules (e.g., valid signature, sufficient funds). If valid, it is stored locally in the node's mempool and gossiped to its peer nodes. This creates a network-wide, albeit non-uniform, view of pending transactions.

02

Fee Market & Priority Queue

The mempool is a fee market where transactions compete for block space. Nodes typically order transactions by fee rate (fee per byte or gas). Miners/validators select the highest-paying transactions first, creating a priority queue. Transactions with insufficient fees may experience delays or be dropped.

03

Dynamic State & Eviction

A mempool is not a permanent store. Nodes manage its size to prevent resource exhaustion. Eviction policies remove the lowest-fee transactions when capacity is reached. Transactions can also be removed after a time-to-live (TTL) period or if they become invalid (e.g., due to a double-spend).

04

Non-Uniform Network View

There is no single, global mempool. Each node maintains its own version based on which transactions it has received and validated. This leads to mempool asymmetry—different nodes may see different sets of pending transactions, especially during high network activity.

05

Frontrunning & MEV Surface

The public visibility of pending transactions in the mempool creates opportunities for Maximal Extractable Value (MEV). Entities can observe transactions and attempt to frontrun or sandwich them by submitting their own transactions with higher fees, influencing execution order for profit.

06

Replace-by-Fee (RBF) & CPFP

Mempools enable transaction replacement mechanisms. Replace-by-Fee (RBF) allows a sender to broadcast a new version of a stuck transaction with a higher fee. Child-Pays-For-Parent (CPFP) allows a new transaction spending an output of a stuck one to bundle fees, incentivizing miners to include both.

node-perspective
MEMPOOL CHARACTERISTICS

Node-Centric & Non-Global

Unlike the blockchain's immutable ledger, the mempool is a dynamic, local component of a node's operation, not a single, unified global state.

A mempool (memory pool) or transaction pool is a node's temporary, local holding area for unconfirmed transactions that have been broadcast to the network but not yet included in a block. Each node maintains its own independent mempool based on the transactions it has received and validated according to its own rules and network connectivity. This means there is no single, global mempool; instead, the network comprises a constantly shifting constellation of individual node mempools with varying contents.

The node-centric nature of mempools leads to several critical network behaviors. Transactions propagate through the network via a gossip protocol, so a transaction may appear in one node's mempool seconds or minutes before another's. Nodes also apply individual filtering policies, such as minimum fee requirements or spam protection, causing further divergence. This is why transaction confirmation times can vary—a miner's specific mempool contents directly influence which transactions they can select to include in the next block they mine.

For developers and users, understanding the non-global mempool is essential. Services that provide "mempool" data, like fee estimation or unconfirmed transaction tracking, are typically querying a single node's or a curated cluster's view, which is an approximation, not an absolute truth. This architecture is fundamental to decentralization but introduces considerations for front-running and transaction replacement strategies, as the state a user observes may differ from what a particular miner sees.

ecosystem-usage
COMPARATIVE ANALYSIS

Mempool Behavior Across Ecosystems

While the core function of a mempool is universal, its implementation, behavior, and user experience vary significantly between different blockchain architectures. These differences are driven by consensus mechanisms, block space markets, and network design.

01

Ethereum (EVM) & Priority Gas Auctions

Ethereum's mempool is a global, permissionless pool where transactions compete via gas price and priority fee (tip). Users engage in Priority Gas Auctions (PGAs), often using tools like MEV-Boost relays for block builders. Key behaviors include:

  • Transaction Replacement: Possible via same-nonce, higher-fee tx (bumping).
  • MEV Extraction: Searchers bundle transactions for maximal extractable value.
  • Strict Validity: Nodes validate signatures and nonces before propagation.
02

Bitcoin & Replace-by-Fee (RBF)

Bitcoin's mempool is decentralized; each node maintains its own version. The primary mechanism for transaction replacement is Replace-by-Fee (RBF), allowing an unconfirmed transaction to be replaced by another that pays a higher fee. Key characteristics:

  • Opt-in RBF: Must be signaled in the original transaction.
  • Child Pays For Parent (CPFP): An alternative method using a child transaction.
  • Fee Estimation: Relies on historical mempool congestion and fee rate (sat/vB).
03

Solana & Local Fee Markets

Solana uses a localized fee market model to reduce global congestion. Fees are calculated per Compute Unit (CU), and transactions specify which state accounts they will access. This creates parallel processing lanes. Key features:

  • Priority Fees: Added on top of base fee to prioritize specific transactions.
  • No Global Mempool: Validators receive transactions via a gossip protocol and can drop low-fee txs from their local queue.
  • Durable Nonce: Allows transactions to bypass the typical short-lived nonce constraint.
04

Cosmos & ABCI Mempool Interface

Cosmos SDK chains use the Application Blockchain Interface (ABCI) to define mempool logic. The default is a FIFO (First-In-First-Out) queue, but chains can implement custom mempools (e.g., priority-based). Key aspects:

  • Validator Control: Each validator runs its own mempool instance.
  • CheckTx: The ABCI call that validates and inserts a transaction.
  • Customization: Chains like Osmosis implement threshold-encrypted mempools to mitigate frontrunning.
05

Avalanche & Subnet-Isolated Pools

Avalanche's primary network (P-Chain, C-Chain, X-Chain) and its many subnets have isolated mempools. The Ethereum-compatible C-Chain behaves similarly to Ethereum but with faster finality. Distinct behaviors include:

  • Subnet Autonomy: Each subnet defines its own transaction validity and fee logic.
  • C-Chain Mempool: Uses a gas auction model; validators can set a minimum gas price.
  • Fast Finality: ~1 second finality reduces the strategic importance of mempool dynamics compared to PoW chains.
06

Mempool-Less Designs & Direct Inclusion

Some high-throughput chains minimize or eliminate the traditional mempool to reduce attack surfaces and latency. Examples include:

  • Solana's Gulf Stream: Pushes transaction forwarding to the edge of the network, aiming for zero-latency propagation.
  • Aptos / Sui: Use a quorum-store or similar mechanism where validators receive and order transactions directly, reducing the public mempool's role.
  • Trade-offs: This improves performance but can reduce transparency and complicate fee estimation for users.
security-considerations
MEMPOOL

Security Considerations & Attack Vectors

The mempool, or transaction pool, is a critical but vulnerable network component where pending transactions await confirmation. Its public, unconfirmed state exposes several attack vectors that can impact users and network stability.

02

Time-Bandit Attacks

A Time-Bandit (or Reorg) Attack is a blockchain reorganization attack where a miner or validator with significant hash power or stake intentionally forks the chain to rewrite history after transactions have been seen in the mempool. The attacker can censor or reorder transactions from a previous block to their advantage, often to capture MEV.

  • This undermines the assumption of transaction finality for users and applications.
  • It is economically viable only if the value extracted exceeds the cost of the attack (e.g., block rewards + slashing risk).
03

Transaction Spamming & Denial-of-Service

Attackers can flood the mempool with a high volume of low-fee or computationally expensive transactions to clog the network. This causes:

  • Gas price inflation, making legitimate transactions prohibitively expensive.
  • Network congestion and delayed confirmations.
  • Potential Denial-of-Service (DoS) for specific applications by targeting their smart contracts.

Mitigations include base fee mechanisms (EIP-1559), transaction rate limiting by nodes, and requiring minimum fee thresholds.

04

Mempool Sniping & Sandwich Attacks

Mempool Sniping targets pending transactions in decentralized finance (DeFi). The most common form is the Sandwich Attack:

  1. A bot identifies a large pending swap on a DEX in the mempool.
  2. It front-runs the swap, buying the same asset and driving its price up.
  3. The victim's swap executes at the worse, inflated price.
  4. The bot back-runs the victim, selling the asset for an instant profit.

This directly extracts value from the end-user's transaction and is a pervasive form of generalized front-running.

05

Privacy Leakage & Footprinting

The public mempool leaks sensitive information before transaction finalization, creating risks:

  • Wallet Activity Exposure: All pending transactions are visible, linking addresses to actions.
  • Trading Strategy Footprinting: Arbitrageurs and large traders reveal their intent, making them targets for front-running.
  • Smart Contract Exploit Tip-offs: Transactions interacting with unaudited contracts can reveal exploit attempts, allowing others to copy the attack.

Solutions include private mempools (e.g., Flashbots RPC, Taichi Network) and cryptographic techniques like zk-proofs for transaction privacy.

06

Fee Estimation Manipulation

Wallets and users rely on fee estimation algorithms that analyze the current mempool to suggest appropriate gas prices. Attackers can manipulate this perception:

  • By spamming the network with fake high-fee transactions, they can trick estimators into suggesting inflated fees.
  • Conversely, a sudden drop in spam can cause underestimation, leading to stuck transactions.

This manipulation erodes user trust and efficiency. Robust estimators use historical data, median calculations, and dedicated services like EIP-1559's base fee to mitigate these attacks.

USER EXPERIENCE IMPACT

Mempool States & User Implications

How a transaction's status within the mempool affects confirmation likelihood, speed, and required user action.

Transaction StateDescriptionConfirmation LikelihoodTypical User ActionRisk Level

Pending

Transaction is valid and broadcast, awaiting block inclusion.

High

Wait for confirmation.

Low

Stuck / Low Fee

Outbid by higher-fee transactions; may not confirm for hours/days.

Low

Speed up via Replace-By-Fee (RBF) or wait.

Medium

Dropped

Evicted from mempool due to timeout or node policy.

None

Re-broadcast transaction.

High

Included in Block

Transaction is in a proposed block, awaiting finality.

Very High

Wait for block finalization.

Very Low

Failed / Invalid

Reverted or invalid (e.g., insufficient gas, bad nonce); rejected by network.

None

Diagnose error and submit a new, corrected transaction.

High

In Mempool Conflict

Conflicts with a newer transaction (e.g., double-spend attempt).

Very Low

The newer, higher-fee transaction will be favored.

Very High

MEMPOOL

Frequently Asked Questions (FAQ)

The mempool is a critical component of blockchain infrastructure where pending transactions wait for network confirmation. These questions address its function, impact on users, and operational nuances.

A mempool (memory pool) is a node's temporary, unconfirmed holding area for pending transactions that have been broadcast to the network but not yet included in a block. It works as a decentralized queue: when a user submits a transaction, it is propagated to peer nodes, each of which validates it against the network's rules (e.g., valid signature, sufficient funds) before storing it locally. Miners or validators then select transactions from their mempool view, typically prioritizing those with the highest transaction fees, to include in the next block they propose. The mempool's state is dynamic and can vary slightly between nodes due to network latency and individual node policies.

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
Mempool (Transaction Pool) Definition & How It Works | ChainScore Glossary