SKIP TO CONTENT
Blockchain

Bundler

A service that batches account abstraction user operations for submission.

What is a Bundler?

A bundler is a specialized node service in the ERC-4337 account abstraction ecosystem that collects UserOperations from a dedicated mempool, packages them into bundles, and submits them to the blockchain as regular transactions. Bundlers play a role similar to miners/validators but specifically for account abstraction transactions.

Bundlers are essential infrastructure that bridges the gap between user-friendly smart contract wallets and the underlying blockchain, handling the complexity of gas estimation, operation validation, and on-chain submission.

How it Works

Bundlers operate through a sophisticated processing pipeline:

UserOperation Collection:
  • Bundlers run nodes connected to the alt mempool
  • Receive UserOps from wallets via JSON-RPC
  • Validate operations locally before accepting
Validation Process:
  1. Simulate the UserOp against the blockchain state
  2. Check that wallet's validateUserOp would succeed
  3. Verify gas estimates are accurate
  4. Confirm paymaster (if any) has sufficient deposit
  5. Filter out operations that would fail
Bundle Creation:
  • Group compatible UserOps together
  • Order for optimal execution
  • Calculate total gas requirements
  • Consider MEV implications
Submission:
  • Create transaction calling EntryPoint.handleOps
  • Pay gas upfront in ETH
  • Submit to regular Ethereum mempool
  • Get reimbursed from UserOp gas payments
Economic Model:
  • Bundlers earn the difference between charged gas and used gas
  • Can extract value from operation ordering
  • Compete on speed and reliability

Practical Example

When you approve a token swap through your smart wallet, a UserOperation is created and broadcast to the bundler network. Multiple bundlers see your operation. Bundler A includes it in a bundle with 50 other UserOps from different users. The bundler simulates execution, estimates it will cost 500,000 gas total, and submits the bundle to Ethereum. The EntryPoint processes all 50 operations, refunding the bundler from each operation's gas allocation. The bundler profits from efficient gas management and any premium paid for fast inclusion.

Why it Matters

Bundlers are critical infrastructure for account abstraction adoption:

User Experience:
  • Abstract away gas payment complexity
  • Handle submission and monitoring
  • Provide reliable transaction delivery
Efficiency:
  • Batch multiple operations for cost savings
  • Optimize gas usage across bundles
  • Reduce overall network load
Decentralization:
  • Anyone can run a bundler
  • Competitive market prevents censorship
  • No single point of failure
Business Opportunities:
  • Infrastructure-as-a-service market
  • Providers: Alchemy, Pimlico, Stackup, Biconomy
  • Growing demand as AA adoption increases
Challenges:
  • DoS protection is complex
  • Simulation accuracy is crucial
  • MEV considerations in ordering

Bundlers represent a new category of blockchain infrastructure, essential for the account abstraction ecosystem to function reliably and efficiently.

Fensory partners with leading bundler providers to ensure reliable transaction processing for users managing yield positions through smart contract wallets.

Examples

  • Pimlico operates bundler infrastructure supporting millions of UserOperations
  • Alchemy offers bundler services integrated with their node infrastructure

See this concept in action across live DeFi protocols.

Track live yields, compare protocols, and build your DeFi portfolio with Fensory.

GET EARLY ACCESSArrow right