Cointegrity

UserOperations

Web3 / smart contracts

The transaction format introduced by ERC-4337 (Account Abstraction) that replaces standard Ethereum transactions for smart contract wallets, enabling a richer set of transaction properties including gas sponsorship, batched operations, session keys, and custom validation logic. A UserOperation is a data structure that describes an intended action from a smart contract account, including the call data to execute, gas parameters, and a signature that may be validated by any logic defined in the account's smart contract rather than requiring a specific ECDSA private key signature. UserOperations are submitted to a mempool of their own (the alt mempool), collected by bundlers who aggregate multiple UserOperations into a single Ethereum transaction, and processed through the EntryPoint contract that orchestrates validation and execution. This architecture enables wallet features like social recovery, multi-factor authentication, transaction batching, and gasless interactions without requiring changes to Ethereum's consensus layer. Example: A smart contract wallet using ERC-4337 can define a UserOperation that swaps tokens, provides liquidity, and stakes the resulting LP tokens all in a single UserOperation rather than three separate transactions, saving gas and reducing the number of confirmations the user must wait through. A paymaster contract can sponsor the gas cost entirely, allowing the user to perform all these DeFi operations without holding any ETH for gas. Why it matters for Web3: UserOperations are the technical foundation for the next generation of crypto wallets that can match the user experience of traditional finance applications. By decoupling transaction validation from ECDSA key signatures, they enable the full range of authentication methods, recovery mechanisms, and transaction batching features that consumer applications require. Their adoption across major wallets and L2 networks is gradually enabling the UX improvements that could make crypto applications accessible to the billions of internet users currently deterred by seed phrase and gas fee complexity.

Category: smart contracts, wallets security

Explore the full Web3 Glossary — 2,000+ expert-curated definitions. Need guidance? Talk to our consultants.