Home Blog Enterprise Blockchain and To Account abstraction ERC-4337: gasless transactions guid...
Enterprise Blockchain and To June 27, 2026 11 min read

Account abstraction ERC-4337: gasless transactions guide

Enterprise Blockchain and To Enterprise Guide 2026 SCALE D2C D2C Technology Enterprise Blockchain and To Enterprise Guide 2026 SCALE D2C D2C Technology

What Is Account Abstraction (ERC-4337)?

Account abstraction (ERC-4337) transforms how Ethereum wallets work by replacing traditional externally owned accounts (EOAs) — controlled by a single private key — with smart contract wallets that execute custom verification logic. This enables capabilities that were previously impossible: gasless transactions where users never hold ETH, social recovery where a lost key can be recovered through trusted contacts, batched transactions that execute multiple operations atomically, and session keys that allow applications to transact on behalf of users without requiring a wallet signature for every action. ERC-4337, deployed on Ethereum mainnet in March 2023, achieves these goals without requiring changes to Ethereum's core protocol by introducing a separate mempool layer (UserOperation pool) and a new contract type (EntryPoint) that standardises smart account execution. In 2026, account abstraction has moved from a developer preview to the dominant wallet architecture for consumer-facing Web3 applications — onboarding friction has become the adoption bottleneck that account abstraction is specifically designed to remove.

42M+ERC-4337 UserOperations processed on Ethereum and L2s as of early 2026, demonstrating significant production adoption
85%reduction in user onboarding drop-off reported by Web3 applications implementing gasless transactions via ERC-4337
6EVM-compatible chains with native ERC-4337 EntryPoint deployment, including Ethereum, Polygon, Optimism, Arbitrum, Base, and zkSync
0 ETHrequired for new users to begin transacting on gasless-enabled applications — eliminating the largest Web3 onboarding friction

How ERC-4337 Works: Architecture Overview

ERC-4337 introduces several new primitives that work together to enable smart account functionality without protocol changes. Understanding the architecture is essential for developers building applications on top of it.

UserOperations are the new transaction type in ERC-4337. Instead of an Ethereum transaction signed by an EOA private key, users submit UserOperations — structured data objects containing the call data, gas parameters, and a signature field validated by the smart account's custom verification logic. UserOperations are submitted to a separate mempool (the alt-mempool), not the standard Ethereum transaction mempool.

Bundlers are specialised nodes that pick up UserOperations from the alt-mempool, simulate their validity, package multiple UserOperations into a single Ethereum transaction, and submit that transaction to the EntryPoint contract. Bundlers pay gas in ETH for the transaction and are reimbursed via Paymaster logic within the UserOperation execution. The Bundler role introduces a new infrastructure layer that developers must account for — either running their own Bundler or using a Bundler-as-a-service provider (Pimlico, Alchemy, Stackup).

The EntryPoint contract is the standardised singleton contract (audited and deployed by the ERC-4337 team) that processes UserOperations from Bundlers. It validates each UserOperation by calling the smart account's validateUserOp function, executes the call data if validation passes, and handles Paymaster interactions for gas sponsorship. The EntryPoint's standardisation enables infrastructure (Bundlers, Paymasters, SDKs) to work with any ERC-4337-compliant smart account.

Smart Accounts are the user's wallet contracts. They implement the ERC-4337 IAccount interface with a validateUserOp function that defines custom signature validation logic. Popular smart account implementations include Safe (formerly Gnosis Safe), Biconomy's Smart Account, Zerodev's Kernel, and Coinbase's Smart Wallet — each offering different feature sets and gas efficiency tradeoffs.

Paymasters are optional contracts that can sponsor gas fees for UserOperations. A Paymaster can pay gas on behalf of users (gasless), accept ERC-20 token payments for gas (enabling gas payment in USDC rather than ETH), or implement custom gas sponsorship policies (free gas for whitelisted users, metered gas credits). Paymasters are how "gasless transactions" are implemented — the application or protocol pays ETH gas costs through its Paymaster, and users never touch ETH.

ERC-4337 SDK and Infrastructure Comparison

ProviderSDKBundler ServicePaymaster ServiceSmart AccountBest For
Pimlicopermissionless.jsYesYes (verifying + ERC-20)PluggableDeveloper-first, advanced customisation
Alchemyaa-sdkYes (Rundler)Yes (gas manager)Modular AccountProduction scale, enterprise support
BiconomyBiconomy SDKYesYesBiconomy Smart AccountQuick integration, opinionated stack
ZerodevKernel SDKYesYesKernel (modular)Session keys, plugin architecture
SafeProtocol KitPartneredPartneredSafe{Core}Enterprise, multi-sig, high security

Key ERC-4337 Application Patterns

Gasless Transaction Sponsorship

Applications sponsor gas for user transactions via a Verifying Paymaster that approves sponsorship based on application-defined criteria (user is new, transaction is below a threshold amount, user holds an NFT). The application pre-funds the Paymaster contract with ETH; the Paymaster pays gas on the user's behalf. Users complete transactions without ever acquiring ETH, removing the primary onboarding friction for non-crypto-native users.

Session Keys for Gaming and DeFi

Session keys allow users to pre-authorise an application to sign transactions on their behalf within defined constraints (specific contract addresses, maximum token amounts, time-limited). A game can request a session key at login; subsequent in-game actions execute without requiring wallet signatures. This enables near-native app experiences for Web3 games and DeFi interfaces where per-transaction signing would be prohibitively disruptive.

Social Recovery

Smart accounts can implement social recovery where a user designates trusted guardians (friends, hardware devices, institutions) who can collectively authorise a new signing key if the original key is lost. This makes self-custody viable for non-technical users — the catastrophic downside risk of seed phrase loss is replaced by a recoverable key management system. Argent's smart account pioneered this pattern and it is now available across multiple smart account implementations.

Batched Transactions

Smart accounts can batch multiple operations into a single UserOperation — approve token + swap + deposit in one atomic transaction. This eliminates the multi-step transaction flows common in DeFi that require users to sign three or more separate transactions sequentially. Batched transactions also save gas versus equivalent separate transactions by amortising base transaction costs across the batch.

Developer Implementation Guide

1
Choose your infrastructure stack: Select a Bundler provider, Paymaster provider, and Smart Account implementation. For most new projects, choosing a single provider offering all three (Pimlico, Alchemy, or Biconomy) reduces integration complexity. For projects requiring specific smart account features (Safe-level security, Kernel's plugin architecture), mix-and-match with the corresponding SDK.
2
Deploy and configure a Paymaster (for gasless): Fund your Verifying Paymaster contract with ETH. Implement the Paymaster server endpoint that signs sponsorship approvals based on your policy (which users, which transactions, what limits). Configure your frontend SDK to request Paymaster sponsorship for all UserOperations. Test the full gasless flow in testnet before mainnet deployment.
3
Integrate smart account creation in your onboarding flow: Smart accounts are counterfactually deployed — the account address exists before the contract is deployed. Users can receive funds at their smart account address immediately; the contract deploys on their first transaction. Use this to create wallet addresses during signup without requiring an on-chain transaction for account creation, and display the address for funding immediately.
4
Implement session key flows for interactive applications: For games or high-frequency applications, implement session key requests at application launch with clearly communicated permission scopes. Users review and approve the session key parameters (which contracts, which functions, duration, spending limits) once, then interact freely within those bounds. Design session key scopes that are minimally permissive — narrow to specific contract addresses and function selectors rather than broad transfer permissions.
5
Monitor gas efficiency and optimise: Smart account transactions have higher gas costs than EOA transactions due to validation logic overhead (~30,000 additional gas per UserOperation). On L2s where gas is cheap this is negligible; on mainnet, batching and Paymaster optimisation matter. Monitor gas costs per UserOperation, track Paymaster deposit levels, and implement gas estimation to ensure users aren't surprised by out-of-gas failures in complex batched operations.
L2 Recommendation: Build ERC-4337 applications on EVM L2s (Base, Optimism, Arbitrum, Polygon) rather than Ethereum mainnet unless your use case specifically requires mainnet security properties. L2 gas costs are 10–100× lower, making the UserOperation overhead negligible and gasless sponsorship affordable even for high-frequency applications. Pimlico and Alchemy's Bundler services support all major L2s, making L2-first development straightforward.
Security Consideration: Smart account implementations vary significantly in security auditing maturity and upgrade mechanisms. Safe has the strongest audit history and widest security review; newer implementations have fewer audit cycles behind them. For applications holding significant user funds, use battle-tested implementations (Safe 1.4.1, Biconomy Smart Account v2) rather than newest implementations with minimal production history. Always verify the EntryPoint contract version matches the canonical ERC-4337 deployment.

Frequently Asked Questions

ERC-4337 achieves account abstraction on Ethereum without protocol changes by introducing the UserOperation mempool and EntryPoint contract at the application layer. StarkNet and zkSync have native account abstraction at the protocol level — every account is a smart contract from the protocol's perspective, without needing a separate mempool or EntryPoint overhead. Native account abstraction is more gas-efficient and architecturally cleaner, but only available on chains designed for it from the start. ERC-4337 brings equivalent capabilities to all EVM-compatible chains including Ethereum mainnet, making it the practical choice for Ethereum ecosystem applications regardless of the architectural tradeoff versus native approaches.

On Ethereum mainnet, a typical ERC-20 transfer via smart account costs approximately 100,000–150,000 gas (versus 65,000 for an EOA transfer), costing $0.50–$3.00 at typical gas prices. On Base or Optimism, the same operation costs $0.001–$0.01. For consumer applications with typical usage volumes, gasless sponsorship on L2s costs $100–$500 per month per 10,000 monthly active users — often less than the customer acquisition cost savings from removing the ETH onboarding requirement. Budget Paymaster deposits based on projected transaction volumes and set per-user daily limits to prevent Paymaster drain from exploitative behaviour.

Yes — Safe 1.4.1 introduced native ERC-4337 compatibility through the Safe4337Module, allowing existing Safe multisig wallets to submit UserOperations to the ERC-4337 EntryPoint. This enables gasless transactions and Paymaster sponsorship for existing Safe deployments, and allows Safe's battle-tested multisig security model to be combined with ERC-4337's UX features. For enterprise treasury management applications on Safe, the ERC-4337 module enables automation use cases (recurring payments, conditional executions) without requiring separate signer transactions for each operation.

ERC-4337 smart accounts still require at least one signer key by default — the account's validation logic checks that UserOperations are signed by an authorised key. The difference is that the signing relationship is defined in contract code rather than hardcoded by the protocol, enabling additional signing methods (passkeys, biometrics, multi-factor) and recovery mechanisms (social recovery, guardian recovery). The seed phrase problem can be eliminated entirely by using passkey-based smart accounts (ERC-7579 compatible) where the signing key is stored in a device's secure enclave rather than as a seed phrase — providing Web2-level key management UX with Web3 self-custody properties.

ERC-6900 defines a standard interface for modular smart accounts — smart accounts that can have plugins (validation modules, execution modules) installed and removed dynamically. This enables smart accounts to add functionality — new signing schemes, spending limits, automation rules, social recovery — as plugins without deploying a new account contract. ERC-6900 is analogous to the ERC-20 standard for fungible tokens: it enables an ecosystem of interoperable plugins that work across any ERC-6900-compliant smart account rather than being tied to a specific account implementation. Alchemy's Modular Account is the reference ERC-6900 implementation.

Bundlers monitor the UserOperation mempool, simulate UserOperations for validity and gas estimation, package them into Ethereum transactions, and submit to the EntryPoint. They earn fees via the gas overpayment in each UserOperation (the difference between the UserOperation's gas price and the Bundler's actual submission cost). Running your own Bundler provides censorship resistance and eliminates dependency on third-party bundler availability, but requires Ethereum node infrastructure, ongoing maintenance, and handling the economic model of bundler operation. For most applications, using a third-party Bundler-as-a-service (Pimlico, Alchemy, Stackup) is the right choice — self-hosting bundlers is reserved for infrastructure providers and applications with extreme censorship resistance requirements.

Hardware wallet compatibility with ERC-4337 has improved significantly in 2025–2026. Ledger and Trezor support signing ERC-4337 UserOperations in their firmware, allowing hardware wallets to authorise smart account transactions. The user experience is not yet as smooth as EOA hardware wallet signing — UserOperations require custom signing flows rather than standard Ethereum transaction signing — but the signing flow works correctly. For high-security smart accounts (Safe with hardware signing), the hardware wallet serves as the authorised signer while the smart account provides the programmable logic layer — combining hardware key security with smart account flexibility.

ERC-4337 UserOperations have higher gas costs than equivalent EOA transactions due to: EntryPoint contract overhead (~20,000 gas), smart account validation logic (~10,000–30,000 gas depending on implementation), and Paymaster validation if used (~10,000 gas). For a simple ETH transfer, smart account gas usage is approximately 2–3× an EOA transfer. This overhead is significant on Ethereum mainnet but negligible on L2s where base gas costs are already in the thousands rather than tens of thousands of gas. The gas overhead is generally considered worthwhile for the UX improvements enabled — the overhead cost is typically less than $0.01 on L2s and the conversion improvement from removing ETH onboarding requirements far exceeds the per-transaction gas premium.

ACCOUNT AB

Ready to Implement Account abstraction ERC-4337: gasless transactions...?

Our specialist team delivers measurable ROI from Enterprise Blockchain and To programmes for enterprise and D2C brands.

Free Audit