EIP-8141 · Draft · Core · 2026-01-29
EIP-8141: Frame Transaction
A new transaction type (0x06) made of 'frames' — contract calls that validate the sender, approve who pays gas, and execute the user's actions — giving Ethereum native account abstraction, sponsored gas and a path to post-quantum signatures.
What problem does it solve?
Today every Ethereum transaction is authenticated by one hard-coded rule: an ECDSA (secp256k1) signature from the sending account, which also pays the gas. Smart-contract wallets work around this with ERC-4337 bundlers and an EntryPoint contract, and EIP-7702 lets EOAs delegate to code, but the protocol itself still assumes an ECDSA key.
Frame transactions let the account's own EVM code decide what counts as a valid transaction and who pays. The stated goals: an off-ramp to post-quantum signature schemes, key rotation, native batching, and gas sponsorship without centralised relayers. In the words of the spec, an account "simply becomes an address with code."
How it works
A new EIP-2718 transaction type 0x06:
[chain_id, nonce, sender, frames, signatures, fees, blob_versioned_hashes]
frame = [mode, flags, target, limits=[execution, state], value, data]
Each frame is a top-level call (up to 64 per transaction) in one of three modes:
| Mode | Caller | Purpose |
|---|---|---|
VERIFY (1) |
entry point | Read-only validation; must end in APPROVE or the tx is invalid |
SENDER (2) |
tx.sender |
Act as the account (needs prior execution approval) |
DEFAULT (0) |
entry point address(0xaa) |
Generic call, e.g. deployment or paymaster logic |
A new opcode APPROVE (0xaa) ends a frame like RETURN and records approval: execution (the sender authorises later SENDER frames) and/or payment (this account pays). Payment approval increments the sender's nonce and collects the maximum cost from the payer. A transaction where nobody approves payment is invalid. The frames up to that point form the validation prefix; the rest is the execution body.
Other pieces:
- A
signatureslist (secp256k1, P-256, or arbitrary bytes) that the protocol validates before any frame runs, so wallets can use built-in schemes without custom code. - Accounts with no code get default code: a
VERIFYframe checks a secp256k1 signature from the account itself, so plain EOAs can use the type. - An atomic batch flag makes consecutive frames all-or-nothing.
- Introspection opcodes (
TXPARAM,FRAMEDATALOAD,FRAMEPARAM,SIGPARAM, …) let code read the transaction and other frames. - Receipts record the
payerand a status and gas usage per frame.
Sample code
A typical sponsored transaction, illustrated as JSON:
{
"type": "0x06",
"sender": "0xYourAccount",
"frames": [
{ "mode": "VERIFY", "target": "0xYourAccount", "flags": "approve execution", "data": "0x…" },
{ "mode": "VERIFY", "target": "0xPaymaster", "flags": "approve payment", "data": "0x…" },
{ "mode": "SENDER", "target": "0xToken", "flags": "atomic batch", "data": "approve(router, amount)" },
{ "mode": "SENDER", "target": "0xRouter", "data": "swap(...)" }
]
}
The account's validation code, conceptually:
// pseudocode: verify the signature however the account likes (passkey, PQ scheme, multisig…)
require(isValid(TXPARAM(SIG_HASH), witness));
APPROVE(APPROVE_EXECUTION); // or APPROVE_EXECUTION_AND_PAYMENT to self-pay
Things to know
- Status is Draft and the spec is large and changing; it depends on several other drafts (for example the state-gas model in EIP-8037).
- There is no EIP-7702 authorization list and no access list in this type, by design.
- The public mempool only accepts certain validation-prefix shapes and restricts opcodes during validation, to stop one state change invalidating many pending transactions. Paymasters serving many users must use a standardised "canonical paymaster" contract; arbitrary paymasters are limited to a few pending transactions.
- Code reached via
DELEGATECALLfrom the account can also callAPPROVE, so delegatecalled libraries must be fully trusted.