Transaction Envelope
Pronunciation: tran-ZAK-shun EN-vuh-lohp
Definition
A transaction envelope is an outer protocol structure that identifies a transaction format and contains or frames the fields needed for decoding, signing, and processing. It may include a type identifier, payload, signatures, and metadata. On Ethereum, EIP-2718 defines typed transaction envelopes so new transaction formats can coexist without ambiguous decoding. Practical use requires recognizing that an unsupported type can be decoded under the wrong layout and present misleading fields to a signer.
Overview
A transaction envelope tells software how to interpret the bytes that follow. In Ethereum’s typed model, a leading transaction type identifies the rules for decoding the payload. This allows legacy, access-list, dynamic-fee, blob, and future transaction formats to coexist. The envelope can therefore separate format selection from the internal Transaction Body and its individual fields.
The term is also used more broadly for a wrapper containing payload, signatures, network domain, or transport information. Not every protocol defines an object with that exact name. Developers must distinguish a consensus-critical envelope from an API-specific JSON wrapper that is removed before broadcast. Only fields included in the signing and serialization specification receive cryptographic commitment.
Typed envelopes improve extensibility because new features do not need to overload old field layouts. However, clients, wallets, hardware signers, RPC services, and block explorers must recognize the type. Unsupported types should be rejected clearly rather than decoded as a familiar transaction. Chain identifiers and domain separation also help prevent signed envelopes from being replayed in unintended contexts.
Systems should store the transaction type and original serialized envelope alongside decoded fields. Signing interfaces must display type-specific effects, including fee rules and attached data. When protocol upgrades introduce new envelopes, integration testing should cover parsing, signature generation, transaction identifiers, replacement behavior, and Transaction Result reporting.
A reliable evidence trail includes the native type identifier, envelope version, payload, signature rules, and original serialized bytes. It becomes important because an unsupported type can be decoded under the wrong layout and present misleading fields to a signer. Operational controls should fail closed on unknown formats and test every supported envelope across signing, submission, and receipts.
Key Takeaway
A transaction envelope identifies how a transaction is structured and interpreted, enabling protocol evolution without ambiguous decoding.
Sources
- EIP-2718: Typed Transaction Envelope — Ethereum Improvement Proposals (2026-08-02)
- Ethereum Transactions — Ethereum.org (2026-08-02)
- EIP-7702: Set Code for EOAs — Ethereum Improvement Proposals (2026-08-02)