EIP-8175 · Draft · Core · 2026-02-26
EIP-8175: Composable Transaction
Proposes one extensible transaction type whose actions are a list of typed capabilities (CALL, CREATE), with signatures kept separate and a programmable fee_auth sponsor, so new features stop needing brand-new transaction types.
What problem does it solve?
Every major feature so far has come with its own transaction type: EIP-1559 fees, EIP-4844 blobs, EIP-7702 authorizations. Most of their fields are the same, yet each one is a separate format, and combining features means yet another type.
Gas sponsorship (someone else paying your fee) is also a long-requested feature. EIP-8141 tackles it with execution frames. EIP-8175 proposes a simpler route: a single composable transaction that carries a list of operations, independent signatures, and an optional sponsor contract.
How it works
The new EIP-2718 type 0x05 has the payload:
rlp([chain_id, nonce, max_priority_fee_per_gas, max_fee_per_gas,
gas_limit, fee_auth, capabilities, signatures])
- Capabilities are what the transaction does, executed in order.
CALL=[0x01, to, value, data],CREATE=[0x02, value, initcode]. Several can be batched; execution stops at the first one that reverts. Future EIPs can add capability types instead of new transaction types. - Signatures are a separate list. Each has a role (
SENDERorPAYER) and a scheme (secp256k1 or Ed25519). Signers sign a hash computed with the signature list blanked, mixed with a\x19ComposableTxSigprefix, their scheme and their role, so they can sign independently and a sender signature cannot be reused as a payer signature. fee_authis either empty or an address. If set, the protocol first calls that account's code (caller = sender, no calldata). That code must use the newRETURNETHopcode to put at leastgas_limit × max_fee_per_gasinto a fee escrow. If it reverts or escrows too little, the transaction is invalid. Unused fee is refunded tofee_auth, and its state changes persist even if the main calls revert.- Four new opcodes, 2 gas each:
RETURNETH(0xf6) sends ETH from the running account to its parent context (or the fee escrow)SIG(0xf7) copies a transaction signature into memorySIGHASH(0xf8) pushes the base hashTX_GAS_LIMIT(0xf9) pushes the transaction's gas limit
- Intrinsic gas is 21,000, plus calldata costs, 32,000 per CREATE, and 3,000 per signature.
Sample code
An illustrative transaction that batches an ERC-20 approve and a swap, sponsored by a paymaster contract (field values are placeholders):
{
"type": "0x05",
"chain_id": 1,
"nonce": 7,
"max_priority_fee_per_gas": "1000000000",
"max_fee_per_gas": "30000000000",
"gas_limit": 250000,
"fee_auth": "0x<sponsor contract>",
"capabilities": [
["0x01", "0x<token>", "0", "0x095ea7b3..."],
["0x01", "0x<router>", "0", "0x..."]
],
"signatures": [
["0x01", "0x00", "<y_parity>", "<r>", "<s>"]
]
}
What the sponsor's fee_auth code has to do, in pseudocode:
required = TX_GAS_LIMIT() * GASPRICE() # GASPRICE exposes max_fee_per_gas here, per the spec
base = SIGHASH()
sig_type = SIG(0, mem) # inspect the sender's signature
assert sponsor_policy_allows(base, mem) # e.g. allow-list, rate limit
RETURNETH(required) # fund the fee escrow
Things to know
- Status: Draft. Opcode numbers, the type byte and gas costs may change; other drafts also propose using type
0x05. - Mempool nodes are asked to simulate
fee_authbefore accepting a transaction and to keep at most one pending composable transaction per sender, because a sponsor contract can burn gas and still make the transaction invalid. RETURNETHcan only send ETH to the immediate parent, not to arbitrary addresses, and it is invalid insideSTATICCALL.- It overlaps in goals with EIP-8141 frame transactions; the two are alternative designs.