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

UserOp Mempool

A UserOp Mempool is a specialized, off-chain transaction pool that temporarily stores pending UserOperations before they are bundled and submitted to an Ethereum Virtual Machine (EVM) blockchain.
Chainscore © 2026
definition
ERC-4337 INFRASTRUCTURE

What is a UserOp Mempool?

A specialized transaction pool for Account Abstraction, holding pending user operations before they are bundled and submitted to the blockchain.

A UserOp Mempool is a specialized, off-chain transaction pool that temporarily stores and propagates pending User Operations (UserOps) within an ERC-4337 account abstraction ecosystem. Unlike a traditional Ethereum mempool that holds raw transactions, it holds these higher-level intent declarations from smart contract wallets. Its primary functions are to receive UserOps from clients, perform initial validation against the EntryPoint contract's rules, and gossip them to Bundlers who will package them for on-chain execution.

This mempool is decentralized and permissionless, meaning any node can run the necessary software to participate. It introduces a new p2p network where nodes validate UserOps against a local simulation to prevent spam and ensure only operations that will succeed (or fail with a predictable error) are propagated. This validation step is critical, as it prevents the network from being flooded with invalid operations that would waste Bundlers' resources on failed on-chain simulations.

The structure of data within the mempool is defined by the ERC-4337 specification. Each entry is a UserOp object containing fields like the sender's smart account address, nonce, call data, signature, and paymaster data. Nodes use a first-in-first-out (FIFO) logic for propagation, but Bundlers may apply their own fee prioritization (e.g., based on max priority fee) when selecting which UserOps to include in the next bundle, similar to how block builders prioritize transactions.

Key components interacting with the UserOp mempool include the Bundler, which pulls operations to create a bundled transaction, and the EntryPoint singleton contract, whose simulation rules (validateUserOp) define the mempool's validation logic. Other participants are Clients (wallets or dApps) that submit UserOps and Nodes that relay them. This separation of concerns is a core innovation, decoupling user intent from gas payment and block construction.

The existence of a dedicated UserOp mempool solves several problems: it allows for sponsorship via paymasters, enables atomic multi-operations from a single account, and facilitates signature aggregation. However, it also introduces new considerations like mempool censorship risks and the need for robust DoS protection through strict validation and reputation systems among nodes.

how-it-works
ACCOUNT ABSTRACTION INFRASTRUCTURE

How the UserOp Mempool Works

The UserOp mempool is a specialized transaction pool for pending user operations in ERC-4337 account abstraction, enabling decentralized bundling and relay.

A UserOp mempool is a decentralized, peer-to-peer network of nodes that stores and propagates pending UserOperations—the standardized transaction objects used in ERC-4337 account abstraction—before they are included in a bundle and submitted on-chain. Unlike a traditional Ethereum transaction mempool, it operates at a higher layer of abstraction, holding intent-based messages from smart accounts rather than raw, signed transactions. Nodes in this network, including bundlers and clients, validate UserOperations against specific rules defined in the ERC-4337 specification, checking signatures, gas limits, and paymaster sponsorship eligibility before relaying them.

The core function of this mempool is to enable the discovery and aggregation of UserOperations by bundlers. A bundler monitors the mempool, selects a set of UserOperations, and packages them into a single bundle transaction for execution on an EntryPoint contract. This process is permissionless; any bundler can compete to include operations, creating a decentralized market for block space within the account abstraction ecosystem. Crucially, the mempool must handle operations that may rely on third-party paymasters for gas sponsorship, requiring validation logic that accounts for these external dependencies.

Key technical challenges for a UserOp mempool include preventing spam and managing operation dependencies. To mitigate spam, the ERC-4337 specification introduces a reputation system and requires a staked deposit for entities that submit operations. Furthermore, because a UserOperation's validity can depend on the state of a paymaster or a deployed smart account, the mempool's validation is necessarily simulation-based. Nodes simulate the execution of each operation using methods like eth_call to ensure it will succeed before accepting it, which is more computationally intensive than validating a simple EOA-signed transaction.

In practice, the ecosystem currently relies on a mempool implementation maintained by bundler providers like Stackup and Alchemy, with efforts underway to standardize interfaces for broader interoperability. The goal is a robust, shared public mempool that prevents fragmentation and ensures UserOperations from any wallet can reach any bundler. This infrastructure is fundamental to achieving the user experience benefits of account abstraction, such as gasless transactions and session keys, by providing a reliable, decentralized queue for user intents.

key-features
MEMPOOL ARCHITECTURE

Key Features of a UserOp Mempool

A UserOp mempool is a specialized transaction pool for Account Abstraction, holding pending user operations before they are bundled and submitted to the blockchain.

01

Decoupled Transaction Lifecycle

The mempool decouples the signing of a user operation from its execution. A user signs and submits a UserOp, which enters the mempool. A separate actor, the bundler, later picks it up, packages it into a bundle transaction, and pays the gas for on-chain execution. This separation enables gas sponsorship and batched execution.

02

Paymaster Support & Gas Abstraction

UserOps can specify a paymaster, a contract that sponsors transaction fees. The mempool must validate that a paymaster is willing and able to pay for the operation. This enables gasless transactions for users, who can pay fees in ERC-20 tokens, or have them sponsored by dApps, abstracting away the need for native chain currency.

03

Aggregation & Bundling

A core function is the aggregation of multiple UserOps into a single bundle transaction. Bundlers monitor the mempool, select operations based on fee priority or other rules, and submit them as a batch. This reduces on-chain overhead and gas costs per operation, making micro-transactions and complex session keys feasible.

04

Simulation & Validity Windows

Before accepting a UserOp, the mempool (or bundlers) perform simulation using eth_call to verify it will execute successfully without reverting. UserOps also have a validity window, defined by validUntil and validAfter timestamps, during which they can be bundled. Expired operations are purged from the pool.

05

Nonce Management & Ordering

Each smart contract account has its own nonce sequence for UserOps. The mempool must respect this ordering to prevent nonce gaps that would block subsequent operations. Bundlers must execute UserOps from a single sender in strict nonce order, which is a key difference from EOA-based mempools.

06

P2P Network & Redundancy

Unlike a single centralized service, a robust UserOp mempool is a peer-to-peer network of nodes and bundlers. This decentralized design prevents censorship and single points of failure. Nodes gossip UserOps using a dedicated P2P protocol (e.g., ERC-4337 mempool spec), ensuring redundancy and high availability for the system.

ecosystem-usage
USEROP MEMPOOL

Ecosystem Usage and Implementations

The UserOp mempool is a specialized transaction pool for Account Abstraction, enabling new developer workflows and infrastructure services.

02

Paymaster Integration

Paymasters are smart contracts that enable gas sponsorship and fee payment in ERC-20 tokens. Their interaction with the mempool is key:

  • Validation: When a bundler picks up a UserOperation, it must validate the attached paymaster's willingness to pay.
  • Post-Op: After execution, the paymaster is called to transfer funds and handle its internal accounting.

This creates a meta-transaction flow where the user's intent (UserOp) is separated from fee payment, enabling applications to abstract gas complexity entirely.

03

Alternative Mempools & Privacy

The public UserOp mempool is vulnerable to frontrunning and MEV. To mitigate this, alternative implementations exist:

  • Private Mempools: Services like BloXroute or Eden Network offer private relayers that forward UserOperations directly to trusted bundlers, shielding them from public view.
  • Flashbots SUAVE: This generalized MEV infrastructure aims to include UserOps, enabling fair ordering and cryptographic privacy for account abstraction transactions.
  • P2P Networks: Decentralized networks for UserOp propagation are an active area of research and development.
05

Wallet & dApp Integration

Smart contract wallets and dApps use the mempool to enable superior user experiences:

  • Batch Transactions: A single UserOperation can execute multiple calls (e.g., approve and swap), submitted atomically via the mempool.
  • Session Keys: dApps can request permissions for limited-time automated transactions, with the signed UserOperations submitted to the mempool when conditions are met.
  • Gasless Onboarding: By integrating a paymaster, a dApp can submit a user's first transaction to the mempool without the user holding any native token.

This shifts transaction lifecycle management from the user's wallet to the application layer.

06

Monitoring & Analytics

As UserOp volume grows, specialized monitoring services emerge to track mempool activity:

  • Mempool Observers: Services scan the public mempool for pending UserOperations, providing data on pending transactions, gas sponsorship trends, and bundler activity.
  • Risk Analysis: Tools simulate UserOperations to detect potential fraud or malicious patterns before they are executed on-chain.
  • Infrastructure Health: Dashboards monitor the latency and reliability of public bundler endpoints and paymaster services.

This visibility is crucial for developers debugging transactions and analysts tracking ecosystem adoption.

security-considerations
USEROP MEMPOOL

Security and Reliability Considerations

The UserOp mempool is a specialized transaction pool for ERC-4337 account abstraction, introducing unique security and reliability challenges distinct from the standard Ethereum transaction mempool.

01

Mempool Griefing & DoS Attacks

A malicious actor can flood the mempool with invalid UserOperations that fail signature validation or pay insufficient fees. This can clog the bundler's processing queue, wasting its resources and potentially censoring legitimate users. Mitigations include:

  • Aggressive filtering of invalid ops before inclusion.
  • Reputation systems for senders.
  • Staked bundlers with slashing for censorship.
02

Frontrunning and MEV

Bundlers can reorder, censor, or insert their own UserOperations to extract Maximal Extractable Value (MEV). This can lead to:

  • Time-bandit attacks replacing a user's profitable transaction.
  • Sandwich attacks on DEX trades initiated by UserOps.
  • Unfair fee extraction. Permissionless bundler networks and fair ordering protocols (e.g., SUAVE, MEV-Share) are proposed solutions.
03

Bundler Centralization Risk

The bundler is a critical, trusted role. If few bundlers exist, the system becomes vulnerable to:

  • Single points of failure for transaction inclusion.
  • Censorship of specific applications or users.
  • Collusion to increase fees. Reliability depends on a robust, permissionless network of bundlers, which is still an early-stage challenge for ERC-4337 adoption.
04

Paymaster Trust Assumptions

When a paymaster sponsors gas fees, users must trust it not to:

  • Rug-pull by revoking its sponsorship, causing transactions to fail.
  • Censor transactions based on content.
  • Frontrun sponsored transactions. Verifiable paymaster policies and reputation systems are essential for decentralized, reliable sponsorship.
05

Signature Aggregation & Verification

Signature aggregation (e.g., BLS) can reduce gas costs but introduces complexity. A bundler must correctly verify aggregated signatures, which is computationally intensive. Faulty verification could lead to:

  • Invalid bundles being submitted on-chain, wasting gas.
  • The entire bundle reverting, harming reliability. Robust client implementations are critical.
06

Mempool Propagation & Network Health

A healthy, interconnected peer-to-peer mempool is vital for censorship resistance and low latency. Challenges include:

  • Network partitions isolating bundlers.
  • Propagation delays causing stale UserOperations.
  • Non-standard data in paymasterAndData or signature fields causing compatibility issues. Standardized P2P protocols (e.g., ERC-4337 Bundler Network spec) aim to address this.
FAQ

Common Misconceptions About UserOp Mempools

Clarifying frequent misunderstandings about the specialized transaction pool for ERC-4337 account abstraction.

No, a UserOp mempool is a distinct, off-chain data structure separate from the standard Ethereum transaction mempool. While both hold pending operations, the UserOp mempool is specifically designed for ERC-4337 UserOperations. These are pseudo-transaction objects that cannot be included directly in a block; they must first be bundled by a Bundler into a valid Ethereum transaction. The mempools also differ in validation logic, as UserOps require specific paymaster and signature checks before they are accepted into the pool.

USEROP MEMPOOL

Frequently Asked Questions (FAQ)

Essential questions and answers about the UserOperation Mempool, the specialized transaction pool for Account Abstraction (ERC-4337) that powers smart contract wallets.

A UserOp Mempool is a specialized, off-chain transaction pool dedicated to holding and relaying UserOperations for the ERC-4337 (Account Abstraction) standard. Unlike a standard Ethereum mempool that holds raw transactions, it stores structured UserOperation objects representing intended actions from smart contract wallets. Bundlers monitor this mempool, select UserOperations, package them into a single on-chain transaction, and pay the gas fees, enabling gasless experiences for end-users. This separation allows for advanced features like paymasters and signature aggregation before execution.

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 direct pipeline
UserOp Mempool: Definition & Role in Account Abstraction | ChainScore Glossary