Blockchain Infrastructure

Read ERC-4337 User Operations Through Bundler and EntryPoint Roles

By Stateside Blocks Editorial··8 min read
A coder intensely typing at a workstation in a contemporary office setup.
Photography: cottonbro studio / Pexels · License

A user operation, a bundle transaction, and an account execution occupy different layers of the ERC-4337 processing path.

Begin with the two transaction layers

ERC-4337 describes account abstraction using an alternative mempool and smart contracts rather than requiring a new Ethereum consensus transaction type. Its central object, the UserOperation, represents a requested action from a smart account together with information needed to validate and pay for processing. A bundler eventually places one or more such operations inside an ordinary network transaction. Confusing those layers makes both performance reports and failure messages harder to interpret.

Consider a hypothetical bundle containing operations from three unrelated accounts. The block contains the bundler's transaction addressed to an EntryPoint contract. Within that transaction, the EntryPoint coordinates the individual operations. The three accounts have not become three independent top-level transactions merely because a wallet presents three separate activities. Conversely, one outer transaction does not imply that the three account owners share authorization rules or commercial relationships.

Account logic supplies authorization

In an ordinary externally owned account, network transaction authorization follows the protocol's transaction rules. A smart account can implement its own validation logic within the constraints of the account-abstraction system. That might accommodate different authorization arrangements, but ERC-4337 does not declare every imaginable wallet feature safe or require every account to support the same features. The account implementation remains a substantive part of the security model.

The sender field identifies the smart account associated with an operation. Its validation checks determine whether the request is acceptable for that account. A displayed signature is therefore only one possible input to a larger authorization process. The relevant account logic, the EntryPoint it trusts, and any additional modules matter. A bundler's willingness to relay an operation does not replace the account's authorization decision or certify the underlying application.

Bundlers turn requests into network transactions

Bundlers collect candidate operations, assess whether they can be included economically and validly, and submit bundles to the EntryPoint. Their network transaction pays the ordinary transaction cost upfront. The account-abstraction machinery then handles reimbursement according to the applicable rules. This arrangement creates an operational role distinct from both the account owner and the block producer that ultimately includes the bundler's transaction.

A bundler also operates an admission policy. An operation may be structurally recognizable yet rejected because it fails simulation, lacks sufficient funding, uses unsupported features, or falls outside the service's supported EntryPoint versions. Rejection by one service is not automatically an Ethereum consensus rejection. Equally, acceptance into a service's queue is not a commitment that a block will include the operation at a particular time.

EntryPoint coordinates rather than chooses the business goal

The EntryPoint is the shared contract that orchestrates the processing path. The standard separates verification work from execution work and specifies how accounts, optional paymasters, and other participants interact with that path. The EntryPoint does not decide whether an account owner's purchase, vote, or application action is sensible. It checks and coordinates protocol-facing conditions while the account and destination contracts supply their respective behavior.

This division explains why naming the EntryPoint alone is incomplete. A reader also needs the network and deployed implementation version. Official documentation and implementation releases contain multiple generations. Field packing, simulation interfaces, gas accounting details, and supported extensions can differ. A page describing an older release can be useful historical documentation without accurately describing a newer deployment. A development branch is likewise not proof of production adoption.

Validation is a resource-sensitive phase

Validation occurs before the requested account execution. Among other concerns, the system needs confidence that authorization is acceptable and the operation can cover processing costs. The standard imposes shared validation restrictions because a public alternative mempool otherwise exposes bundlers to requests that are cheap to submit but expensive or unpredictable to evaluate. These restrictions address infrastructure reliability, not merely the appearance of a signature field.

Simulation gives a bundler an advance view of likely validation behavior using a particular state snapshot. It cannot freeze future state or promise that a later execution will achieve the user's intended outcome. Other operations may change balances, authorization state, or application conditions before inclusion. A simulation result is evidence about a modeled processing attempt, with assumptions about state and ordering, rather than a guarantee of an eventual business result.

Nonces separate ordering from identity

ERC-4337 divides its nonce into a 192-bit key and a 64-bit sequence number. Different keys can support separate logical sequences for an account, while the sequence value advances within a key. This helps distinguish replay control and ordering policy from a simplistic picture in which every action must pass through a single undifferentiated counter. The account's chosen logic still determines how particular nonce arrangements are used. Multiple sequences do not mean that replay protection can be ignored or that operations are independent in every respect.

For example, two hypothetical requests might use different supported ordering lanes yet both depend on the same account balance. Their nonce relationship would not remove that shared state dependency. Similarly, a valid nonce does not establish that the destination action is harmless. Authorization, ordering, funding, and application conditions answer different questions, even though an interface may summarize all of them with a single pending or failed label.

Close-up of colorful programming code displayed on a computer monitor with a dark background.
Illustrative photography: Nemuel Sereti / Pexels · License. Not a live account, author portrait or endorsement.

Factories and sponsorship are optional roles

An account may be deployed as part of processing when the relevant mechanism and version support that arrangement. A factory participates in creating the account, while the resulting account is responsible for its own validation behavior. The existence of a factory does not make every account it creates equivalent, nor does an account deployment event establish that subsequent requested actions were successful. Creation and use belong to different stages.

A paymaster provides another optional role: accepting responsibility for gas under its validation and funding arrangements. Sponsorship can change who bears a network expense without changing what the destination contract is allowed to do. A paymaster may impose eligibility conditions, and its acceptance can depend on state or policy. An account can also use the system without such sponsorship. The architecture does not make every operation free to its user.

Funding and limits describe processing exposure

Operation fields describe limits and fee-related expectations for different work, including validation and execution. These are not a simple invoice for a completed application action. Gas used, applicable fee calculation, prefunding, refunds, and possible penalties must be interpreted under the deployed EntryPoint's rules. A number labeled gas limit should not be presented as the amount necessarily consumed, and a sponsor's budget is not the account's spending authorization.

Suppose an operation is authorized and adequately funded but its destination call cannot satisfy an application condition. Processing can still consume resources. The precise failure treatment depends on the phase and version, but the broad lesson is stable: infrastructure expenditure and successful application execution are separate measurements. A wallet's single total may combine several components, so a technical explanation should identify what is being measured before comparing operations.

Read outcomes at the correct granularity

An outer bundle transaction and its constituent operations have different result boundaries. Validation failure can affect bundle processing differently from an execution failure associated with a particular operation. EntryPoint events and operation-level receipts are intended to make these distinctions observable. A top-level transaction status alone cannot establish that every intended account action in the bundle achieved its purpose.

The reverse distinction also matters when investigating a pending request. A UserOperation hash identifies an operation under the relevant hashing rules; it is not automatically the same identifier as the transaction eventually carrying it. Reports should say whether they refer to a submitted operation, a bundler's accepted candidate, an included bundle, or a confirmed operation result. Finality is an additional network-level consideration after inclusion.

Shared standards still allow different infrastructure

ERC-4337 aims to support interoperable account-abstraction infrastructure, but practical access remains shaped by deployed versions and service support. Some services support a restricted set of accounts, paymasters, aggregation arrangements, or validation behavior. Shared mempool rules and reputation practices address abuse and resource constraints; they are not an endorsement of every contract participating in that infrastructure. A supported feature list is therefore operational information, not a broad safety rating.

Signature aggregation, where supported, is another example of a specialized participant and validation path. It should not be assumed merely because several operations share one bundle. Bundling is the act of placing operations together for processing; aggregation concerns a particular authorization-verification arrangement. Keeping the terms separate prevents a throughput claim from quietly becoming a claim about the cryptography used by every account in the batch.

An implementation comparison should also distinguish a standard requirement from a bundler convenience. An endpoint may offer estimates, status polling, or other supplementary services, but those interfaces do not by themselves change account authorization. Documentation that describes one simulation helper should be read with its release context rather than assumed to specify every version. This is particularly important when a release changes how offchain simulation is organized while preserving the broader validation and execution separation. Comparing the named version, supported operation format, and documented result boundary produces a much stronger interpretation than comparing matching product labels alone.

A precise way to describe the path

A useful explanation follows the requested action through distinct responsibilities: the account authorizes, the bundler evaluates and submits, the EntryPoint coordinates, optional participants supply their defined services, and the destination executes application logic. The parent network then provides its own inclusion and finality framework. No single participant supplies all those assurances, and each can expose a different reason for delay or failure.

For US readers evaluating technical claims, this role map is more informative than treating account abstraction as a universal wallet upgrade. It supports specific questions about version compatibility, authorization scope, processing costs, and operation-level outcomes without requiring a live transaction. ERC-4337 standardizes an important coordination mechanism; the properties of a particular product still depend on the contracts, infrastructure, and network that actually implement it.

Sources and further reading

Note: This article is for educational purposes only and is not investment advice. See our Disclaimer.