Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Bundled Transactions

A set of multiple transactions submitted as a single, atomic package to a block builder, primarily used to execute complex, multi-step MEV strategies.
Chainscore © 2026
definition
BLOCKCHAIN SCALING

What are Bundled Transactions?

A core mechanism for improving blockchain throughput and user experience by grouping multiple operations into a single on-chain unit.

Bundled transactions (or transaction bundling) is a scaling technique where multiple independent operations from one or more users are aggregated into a single, atomic batch for submission to a blockchain. This single bundle is then processed as one unit by the network's validators or sequencers, significantly reducing the per-transaction overhead of gas costs, signature verification, and block space. The concept is central to rollup architectures and is often facilitated by a bundler service or a specialized smart contract.

The primary technical driver is economic and operational efficiency. By amortizing fixed costs—like the base fee for block inclusion or a rollup's L1 settlement cost—across many operations, the effective cost per user operation drops substantially. This enables micro-transactions and complex account abstraction flows that would be prohibitively expensive individually. Furthermore, bundling can guarantee atomic execution: either all transactions in the bundle succeed, or the entire bundle reverts, which is crucial for complex DeFi interactions.

A common implementation is seen in ERC-4337 (Account Abstraction), where a UserOperation objects are collected by off-chain bundlers. These bundlers create a single transaction that pays fees on the user's behalf and submits it to a dedicated EntryPoint contract. Similarly, rollups like Optimism and Arbitrum inherently bundle hundreds of L2 transactions into a single compressed data batch posted to Ethereum L1. This reduces congestion and cost for end-users while leveraging the security of the underlying chain.

Beyond scaling, bundling enables advanced user experiences. It allows for sponsored transactions, where a dapp or wallet pays the gas fee, and session keys, where multiple actions within a game or application require only one initial approval. However, the design introduces trust considerations regarding the bundler, which acts as a transaction sequencer with the power to censor, reorder, or front-run transactions within a bundle, though cryptographic proofs and reputation systems can mitigate these risks.

The evolution of bundling is closely tied to modular blockchain design. With the rise of validiums and optimistic rollups, the role of the bundler/sequencer becomes a specialized service layer. Future developments may see decentralized bundler networks and more sophisticated fee markets for bundle inclusion, further refining the trade-offs between cost, speed, and decentralization in blockchain transaction processing.

how-it-works
MECHANISM

How Do Bundled Transactions Work?

An explanation of the technical process and economic incentives behind bundling multiple user operations into a single on-chain transaction.

Bundled transactions work by aggregating multiple independent user operations—such as token swaps, NFT transfers, or contract interactions—into a single, atomic on-chain transaction submitted by a specialized actor known as a bundler. The process begins when users sign UserOperations, which are pseudo-transaction objects defined by standards like ERC-4337 for account abstraction. These signed operations are sent to a public mempool, where bundlers compete to collect them. The bundler's role is to validate the operations, simulate their execution to ensure they will succeed and pay fees, and then package them into a single transaction for submission to the blockchain.

The bundler assumes the critical responsibility of paying the network's base gas fees for the entire bundle. To offset this cost and earn a profit, the bundler collects fees from each individual user operation within the bundle. This is enabled by the paymaster model, where a third-party contract can sponsor gas fees on a user's behalf, often accepting payment in ERC-20 tokens. The bundler's economic incentive is the difference between the total fees collected from users and the actual cost of the block space. This creates a competitive market where bundlers optimize for inclusion by selecting the most profitable set of operations, similar to block builders in MEV (Maximal Extractable Value) strategies.

From the blockchain's perspective, the bundle appears as one transaction from the bundler's address. However, each internal UserOperation is executed in sequence within the bundle. Crucially, the entire bundle is atomic: if any single user operation fails its validation or execution phase, the entire bundle reverts, protecting users from partial failures. This atomicity is enforced by the EntryPoint contract in ERC-4337, which acts as a singleton contract that orchestrates the validation and execution of all operations in the bundle, ensuring consistency and security.

This architecture enables significant benefits. For users, it abstracts away the need to hold the network's native token for gas, enables sponsored transactions, and can reduce effective costs through economies of scale. For the network, it consolidates load, as hundreds of logical actions can be represented in one calldata payload and one set of signature verifications. The system's security relies on the decentralized network of bundlers and the rigorous validation rules of the EntryPoint, which prevent invalid operations from being included in a bundle.

key-features
MECHANICAL ADVANTAGES

Key Features of Bundled Transactions

Bundled transactions, also known as transaction batching, combine multiple user operations into a single on-chain transaction, unlocking distinct technical and economic benefits.

01

Cost Efficiency

By aggregating multiple operations, bundled transactions amortize the base transaction cost (e.g., gas on Ethereum) across all included actions. This significantly reduces the effective cost per operation for end-users, making micro-transactions and complex interactions economically viable. For example, a single bundle can execute 10 swaps and 5 NFT transfers for the cost of one transaction, not fifteen.

02

Atomic Execution

All actions within a bundle are executed atomically—they either all succeed or all fail as a single unit. This eliminates partial execution risk and is critical for complex DeFi interactions. For instance, a user can bundle a token approval, a swap on a DEX, and a liquidity deposit into a single atomic transaction, ensuring the entire sequence completes or reverts without leaving funds in an intermediate state.

03

Improved User Experience (UX)

Bundling abstracts away the complexity of multi-step blockchain interactions. Users sign a single meta-transaction or user operation, and a relayer or bundler handles the on-chain execution. This enables features like:

  • Gas sponsorship (paymaster)
  • Session keys for repeated actions
  • One-click multi-action flows (e.g., 'Buy NFT with ETH') This reduces wallet pop-ups and simplifies the process for non-technical users.
04

Enhanced Privacy

Bundling can obfuscate the link between individual users and specific on-chain actions. When a bundler aggregates operations from multiple users into one transaction, it becomes more difficult for block explorers and analysts to deanonymize which sub-operation belongs to which originating address. This provides a layer of privacy, though it is not a complete anonymity solution.

05

Throughput & Network Efficiency

By reducing the total number of individual transactions submitted to the network's mempool, bundling decreases network congestion and contention for block space. This improves overall network throughput (transactions per second) and can lead to more predictable gas prices. It's a scaling technique that optimizes existing block space rather than increasing block size.

examples
IMPLEMENTATION PATTERNS

Examples of Bundled Transaction Strategies

Bundled transactions enable complex, multi-step on-chain interactions. These strategies are foundational to advanced DeFi protocols, NFT platforms, and cross-chain applications.

atomicity
BLOCKCHAIN TRANSACTION GUARANTEE

The Principle of Atomicity

A core property of blockchain transactions that ensures a set of operations either all succeed or all fail as a single, indivisible unit.

In blockchain systems, atomicity is the guarantee that a bundled transaction—a group of interdependent operations—executes completely or not at all. This eliminates partial states where some actions succeed while others fail, which is critical for maintaining the integrity of on-chain state. For example, in a token swap, atomicity ensures you either receive the output tokens and pay the input tokens, or the entire transaction is reverted as if it never happened, protecting users from financial loss due to execution errors or insufficient liquidity.

This principle is enforced by the blockchain's execution environment. During block validation, the Ethereum Virtual Machine (EVM) or other runtime computes the entire transaction bundle. If any operation within the bundle fails (e.g., a required condition is not met, gas runs out, or a REVERT opcode is triggered), the entire transaction is rolled back. All changes to the global state are discarded, and any gas spent (except the base fee) is forfeited, ensuring the network's state remains consistent and predictable.

Atomicity is fundamental to smart contract design and complex DeFi interactions. It enables sophisticated operations like flash loans, where a borrower must repay the loan within the same transaction, and multi-step arbitrage. Protocols such as Uniswap V3 rely on atomicity for its callback mechanism, allowing external contracts to interact with a pool and perform actions mid-swap, with the guarantee that the entire interaction is atomic. This principle underpins composability, allowing developers to trust that calls to external contracts will either fully succeed or safely revert.

The mechanism differs from database ACID atomicity, as blockchain atomicity is enforced cryptographically and globally by network consensus, not by a single database manager. While a database can abort a transaction privately, a blockchain's atomic rollback is a public event recorded on-chain. This public verifiability is key for building transparent and trust-minimized applications, as any observer can cryptographically prove that a transaction bundle either completed fully or was entirely invalid.

ecosystem-usage
BUNDLED TRANSACTIONS

Ecosystem Usage & Standards

Bundled transactions aggregate multiple user operations into a single, atomic batch, enabling advanced use cases like account abstraction, gas sponsorship, and complex multi-step interactions.

02

Bundler Role & Economics

A Bundler is a network participant (often a specialized node or service) that aggregates UserOperations, includes them in a block, and pays the gas. Their economic model is based on:

  • Priority fees: Earn MEV or tips from user operations.
  • Gas optimization: Bundle operations to maximize block space efficiency.
  • Stake requirements: May need to stake ETH to act as a trusted bundler, penalized for malicious bundles.
03

Paymaster Services

A Paymaster is a smart contract that sponsors transaction gas fees, enabling gasless transactions for end-users. Bundlers interact with paymasters to:

  • Verify sponsorship: Check if the paymaster will pay for a given UserOperation.
  • Execute payment: Transfer ETH for gas after the bundle is executed.
  • Use alternative assets: Allow users to pay fees in ERC-20 tokens, which the paymaster converts. This decouples fee payment from the executing account.
04

Atomic Composability

Bundling enables complex, multi-contract interactions that either all succeed or all fail. Key use cases include:

  • DeFi arbitrage: Execute a series of swaps across multiple DEXs in one atomic transaction.
  • NFT mint & list: Mint an NFT and list it on a marketplace instantly.
  • Cross-chain actions: Bridge assets and perform an action on the destination chain via a unified intent (requires additional infrastructure). This reduces front-running risk and failed state headaches.
05

Standardization & Interoperability

For bundling to work across the ecosystem, standards are critical:

  • UserOperation Mempool: A standardized, off-chain pool where bundlers source operations (P2P or via APIs).
  • EntryPoint Contract: A singleton, audited contract that all bundles execute through, ensuring security consistency.
  • RPC Methods: New JSON-RPC methods like eth_sendUserOperation for dApps to submit to bundlers. These standards prevent fragmentation and ensure user wallets work across different bundler implementations.
06

MEV & Bundle Auctions

Bundlers compete to include profitable bundles, creating a bundler market. This intersects with Maximal Extractable Value (MEV):

  • Bundle Auctions: Searchers submit bundles with bids to bundlers for inclusion.
  • Privacy: Some bundlers offer private mempools to protect against front-running.
  • OFAC Compliance: Bundlers may filter transactions, raising censorship concerns. The design of the bundler market significantly impacts network neutrality and efficiency.
security-considerations
BUNDLED TRANSACTIONS

Security & Economic Considerations

Bundled transactions, or transaction bundles, group multiple user operations into a single block submission, introducing unique security models and economic trade-offs for users, builders, and validators.

01

MEV Extraction & Censorship

Bundlers can act as MEV (Maximal Extractable Value) searchers, reordering or inserting their own transactions within a bundle to capture value. This creates risks of front-running and sandwich attacks against users. Centralized bundling services also pose censorship risks, as they can choose to exclude certain transactions or addresses from blocks.

02

Economic Incentives for Bundlers

Bundlers are economically motivated by priority fees and MEV opportunities. Their profitability depends on:

  • Gas arbitrage: Submitting bundles when base fees are low.
  • Inclusion fees: Charging users for bundle inclusion.
  • Execution efficiency: Maximizing the number of operations per unit of gas to spread fixed block space costs. Failure to be profitable can lead to service degradation or centralization.
03

User Cost Predictability

While bundling can reduce costs through gas sharing, user fees become less predictable. Costs are influenced by:

  • Bundle-level gas pricing, not individual op gas.
  • Bundler's profit margin and strategic pricing.
  • Network congestion at the time of bundle construction. This contrasts with the direct fee market interaction of standard transactions.
04

Reliability & Liveness Assumptions

Users delegate transaction liveness to the bundler. Key risks include:

  • Bundler failure: If the selected bundler is offline or malfunctions, the user's transaction is stuck.
  • Unpredictable inclusion: There is no guarantee of inclusion in the next block, as the bundler may delay submission for economic reasons.
  • Fallback mechanisms: Systems often require alternative bundlers or direct mempool submission paths to ensure resilience.
05

Trust Assumptions in Paymasters

Bundles often integrate with paymasters (fee sponsors). This adds a critical trust vector:

  • The paymaster must honor its commitment to pay for gas.
  • Malicious paymasters could censor transactions or run out of funds, causing failures.
  • Users must trust the paymaster's solvency and the security of its signature verification logic.
06

Centralization Pressures

The bundling market faces natural centralization pressures due to economies of scale and MEV advantages. Large, sophisticated bundlers with optimized infrastructure and exclusive order flow can outcompete smaller players. This can lead to a few dominant bundlers, creating systemic risks and reducing the censorship-resistant properties of the network.

COMPARISON

Bundled Transactions vs. Similar Concepts

A technical comparison of transaction aggregation mechanisms, highlighting key architectural and operational differences.

Feature / MetricBundled TransactionsAccount Abstraction (ERC-4337)Layer 2 Batch Submission

Primary Function

Aggregate multiple user ops for single on-chain execution

Decouple transaction logic from EOAs via UserOperations

Aggregate L2 state transitions for L1 settlement

Execution Scope

Within a single block on the base layer

Across a UserOperation mempool and bundler network

Across a rollup or validium's sequencer

Fee Payment Flexibility

Sponsor or user can pay; multiple fee tokens possible

Sponsor can pay; gas abstraction via paymasters

User pays in L2 native gas; often subsidized by sequencer

Atomicity Guarantee

All ops in bundle succeed or fail together

Per UserOperation atomicity within a bundle

All tx in L2 block succeed or fail on L1 together

Primary Architectural Layer

Application/Protocol (L1 Smart Contracts)

Infrastructure (New Mempool & Bundlers)

Scalability (L2 Execution & Data Availability)

Typical Latency

Same as base L1 block time (e.g., 12 sec)

Subject to bundler inclusion (variable, often < 1 min)

Instant on L2; finality on L1 after challenge/verification period

Key Actor

Bundler (specialized searcher/block builder)

Bundler (ERC-4337 network participant)

Sequencer (L2 block producer)

State Change Finality

On L1 settlement (immediate finality)

On L1 settlement after bundler inclusion

On L1 after dispute window or proof verification

BUNDLED TRANSACTIONS

Frequently Asked Questions (FAQ)

Common questions about the mechanism of bundling multiple user operations into a single blockchain transaction, a core concept for account abstraction and scaling.

A bundled transaction is a single on-chain transaction that contains multiple, independent user operations, submitted and paid for by a third-party entity called a bundler. It is the fundamental execution unit in ERC-4337 account abstraction, allowing a smart contract wallet's user operation to be processed without requiring the user to hold native gas tokens. The bundler aggregates operations from a mempool, validates them, wraps them into a single transaction, and pays the network fees, later being reimbursed by the users' smart contract accounts.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team