Skip to content

Spec Overview

🤖 AI-Generated Content

This documentation is AI-generated and updated frequently. Cross-reference with the actual EIP. See the home page for the full disclaimer.

This section provides a structured walkthrough of EIP-8141 "Frame Transaction", broken down into digestible pieces for implementers and anyone who wants to understand what this proposal actually does.

Based on: EIP-8141 at commit ee66073 (March 13, 2026)

The Big Picture

EIP-8141 introduces a new EIP-2718 transaction type (0x06) called the Frame Transaction. Its core innovation is replacing the monolithic transaction model — where a single ECDSA signature controls validation, execution, and gas payment — with a multi-frame architecture where each of these concerns can be handled independently by arbitrary EVM code.

Why?

  1. Post-quantum readiness — Ethereum's current transaction model is fundamentally tied to the secp256k1 elliptic curve. Frame transactions provide a native off-ramp to any cryptographic system, including PQ-secure ones.

  2. Account abstraction, natively — Rather than bolting AA onto the protocol via entry-point contracts (ERC-4337) or delegation (EIP-7702), frame transactions make it a first-class protocol feature. An account is simply an address with code.

  3. Gas abstraction — Third parties can sponsor gas payments, users can pay in ERC-20 tokens, and the payment logic is fully programmable.

Key Concepts at a Glance

ConceptSummary
FrameA single unit of execution within a frame transaction. Each frame has a mode, target, gas limit, and data.
Frame ModesDEFAULT (0), VERIFY (1), SENDER (2) — determines caller identity and execution semantics.
APPROVE opcodeNew opcode that signals sender authorization and/or gas payment commitment.
TXPARAM opcodeIntrospection opcode for reading transaction and frame metadata.
FRAMEDATALOAD / FRAMEDATACOPYOpcodes for cross-frame data access.
Entry PointSystem address 0xaa used as caller for DEFAULT and VERIFY frames.
Default CodeBuilt-in logic for EOAs using frame transactions (ECDSA + P256 support).

Constants

NameValue
FRAME_TX_TYPE0x06
FRAME_TX_INTRINSIC_COST15000
ENTRY_POINTaddress(0xaa)
MAX_FRAMES10^3

Section Guide

Dive deeper into each aspect of the spec:

  • Spec Chronology — How EIP-8141 evolved from initial publication through community debate and multiple revisions. Essential context for understanding which parts are stable and which are in flux.
  • Transaction Structure — RLP encoding, fields, constraints, receipts, signature hash.
  • Frame Modes — DEFAULT, VERIFY, SENDER modes and approval bits.
  • New Opcodes — APPROVE, TXPARAM, FRAMEDATALOAD, FRAMEDATACOPY.
  • Execution Behavior — The frame execution loop, cross-frame interactions, and validation flow.
  • Gas Accounting — How gas limits, fees, and refunds work across frames.
  • Default Code (EOA) — How EOAs without deployed code interact with frame transactions.

A Feel Your Protocol project — EIP-8141 reference implementation by the EthereumJS team.