---
eip: 7727
label: EIP-7727
title: EVM Transaction Bundles
status: Stagnant
type: Standards Track
category: Core
created: 2024-06-24
requires: 2718
official: https://eips.ethereum.org/EIPS/eip-7727
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7727.md
canonical: https://eips.huatuo.xyz/eip-7727/
lang: en
tldr: Proposes two new transaction types and a BUNDLE_SIGNER opcode so users and contracts can hand ordering rights to a chosen off-chain sequencer, creating EVM-native bundles that let apps rather than block builders capture sequencing value.
tags: [transactions, mev, bundles, sequencing, core]
---

# EIP-7727: EVM Transaction Bundles

> Enable meta transactions to order other transactions without revert protections.

**TL;DR:** Proposes two new transaction types and a BUNDLE_SIGNER opcode so users and contracts can hand ordering rights to a chosen off-chain sequencer, creating EVM-native bundles that let apps rather than block builders capture sequencing value.

## What problem does it solve?

Today one block builder decides the exact order of every transaction in a block. Order decides who touches a piece of state first, so it carries a lot of value (MEV), and that value flows to builders and searchers. Applications have no protocol-level way to say "transactions touching my contract should be ordered by *this* party".

EIP-7727 adds bundles to the EVM itself: a transaction can name a `bundleSigner`, and only a bundle signed by that address can include it. Contracts can then check who sequenced a call and redirect ordering value back to the application.

## How it works

Two new [EIP-2718](/eip-2718/) typed transactions and one opcode:

- **Delegated transaction (`0x05`)**: a normal call (`nonce`, `gasPrice`, `gasLimit`, `to`, `value`, `data`) plus `bundleSigner` and an optional `blockNumber`. It is **only valid inside a bundle** signed by `bundleSigner`, and, if `blockNumber` is non-zero, only in that block.
- **Bundle transaction (`0x06`)**: a "meta" transaction that does not execute code. It carries a `transactionList` of type-0x05 or nested type-0x06 transactions that all name the bundle's signer, and it fixes their order. Bundles can themselves name a `bundleSigner` and so be nested.
- **`BUNDLE_SIGNER` opcode**: inside a delegated transaction it pushes the `bundleSigner`; otherwise it pushes the zero address. Gas cost is `GAS_VERY_LOW`.

**No revert protection.** Unlike builder bundles, inner transactions are not all-or-nothing. An inner transaction that is invalid when its turn comes (bad nonce, insufficient funds) is skipped. The bundle signer pays for its bytes at the calldata rate plus a base cost; valid inner transactions cost the bundle signer nothing extra and pay their own gas.

**Receipts:** a bundle's receipt holds a `statusArray`, one entry per inner transaction, with status `0x3` for invalid ones. Invalid delegated transactions get no receipt of their own.

## Sample code

Payload layouts from the spec (RLP):

```text
0x05 || rlp([bundleSigner, blockNumber, chainId, nonce, gasPrice,
             gasLimit, to, value, data, yParity, r, s])

0x06 || rlp([bundleSigner, blockNumber, chainId, nonce, gasPrice,
             transactionList, yParity, r, s])

bundle gas = BUNDLE_BASE_GAS_COST
           + CALL_DATA_TOKEN_COST * invalid_inner_tx_bytes
```

A contract that only accepts calls sequenced by its own sequencer (illustrative; the opcode number is still TBD, so `bundleSigner()` stands in for it):

```solidity
address public immutable sequencer;

modifier onlySequenced() {
    require(bundleSigner() == sequencer, "not sequenced");
    _;
}
```

## Things to know

- Status is **Stagnant**: no recent progress, and it is not scheduled for any upgrade. Constants such as `BUNDLE_BASE_GAS_COST` and the opcode number are still TBD.
- The draft uses a legacy-style single `gasPrice` rather than [EIP-1559](/eip-1559/) fee fields.
- Delegating ordering does not remove censorship risk; it moves it to the sequencer. The spec suggests running sequencing logic publicly and trust-minimised (for example in a TEE).
- Contracts gated on `BUNDLE_SIGNER` should give users a way to withdraw funds that does not depend on the sequencer being online or honest.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-7727
