Skip to main content

Bundler

Bundler is a branded Address type representing an ERC-4337 bundler node. Bundlers aggregate user operations from the mempool and submit them to the EntryPoint contract for execution.

Quick Start

Type Definition

API Reference

from

Create Bundler from address input.

toHex

Convert Bundler to hex string.

equals

Check if two Bundler addresses are equal.

Bundler Responsibilities

Bundlers perform critical functions in the ERC-4337 ecosystem:
  1. Mempool monitoring: Watch for new user operations
  2. Simulation: Validate operations will succeed
  3. Aggregation: Bundle multiple operations into transactions
  4. Submission: Submit bundles to the EntryPoint contract
  5. Gas optimization: Optimize bundle ordering for gas efficiency

Bundler RPC Methods

Standard bundler RPC methods for interacting with bundlers:

References