Transaction Decoder
Decode raw Ethereum transaction data
✓ Real RLP Decoding: This tool uses viem's parseTransaction to properly decode signed transactions. It supports all transaction types (legacy, EIP-2930, EIP-1559) and extracts all transaction fields.
1. What is Transaction Decoding?
Transaction decoding converts raw hexadecimal transaction data into human-readable fields like sender, recipient, value, gas parameters, and transaction data. Raw transactions are RLP-encoded and signed.
2. How does it work?
The decoder parses RLP-encoded transaction data by deserializing the hex string into its component fields. It extracts the transaction type, then decodes each field according to the transaction schema (legacy, EIP-2930, or EIP-1559). The signature components (v, r, s) are used to recover the sender address.
Transaction Structure
An Ethereum transaction contains: nonce (transaction count), gasPrice, gasLimit, to (recipient), value (ETH amount), data (contract call data), and signature components (v, r, s) for authentication.
3. Examples
EIP-1559 Transaction (Type 2)
0x02ef0182031184773594008477359400809470997970c51812dc3a010c7d01b50e0d17dc79c8880de0b6b3a764000080c0Simple ETH transfer
Raw hex → Decoded fields showing sender, recipient, value, and gas parametersContract interaction
Raw hex with data field → Decoded showing contract address and function call data