Transaction Proof
A Transaction Proof verifies that a specific transaction is included in a verified execution block.
- Execution Block: The execution block is verified via
ETH_EL_PROOF_UNION(c4_verify_block). This yields a verified RLP EL header and its keccakblockHash. - Transaction Inclusion: A Patricia Merkle proof against the header's
transactionsRootdelivers the raw transaction as the leaf. - Request Binding: The raw transaction (and the header's
blockNumber/blockHash) is matched against the RPC arguments (eth_getTransactionByHash,eth_getTransactionByBlockHashAndIndex, oreth_getTransactionByBlockNumberAndIndex).

This Proof is used for the following RPC-Methods:
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
EthTransactionProof
The main proof data for a single transaction.
The Type is defined in src/chains/eth/ssz/verify_proof_types.h.
class EthTransactionProof(Container):
transactionIndex : Uint32 # the index of the transaction in the block
transactionProof : ProgList [bytesList] # the Patricia Merkle Proof of the transaction, the leaf contains the raw transaction.
elProof : Union [ # the proof for the execution block containing the transaction
Bytes32, # 0: cached: verifier already holds this verified EL header
EthClHeaderProof, # 1: full consensus-layer proof of the EL header
EthSequencerProof, # 2: sequencer-signed execution payload (OP-Stack)
EthWitnessHeaderProof, # 3: reserved; c4_verify_block rejects until ecrecover+allow-list exist
EezL1Proof, # 4: Proof of the blockhash based on the EEZ Proxy contract in L1
EthEip2935Proof, # 5: Proof of the blockhash based on EIP-2935; accepted by c4_verify_block on every chain
ArbFeedProof] # 6: Arbitrum sequencer feed signature
Referenced Types
EthTxData
Container type for authorization list entries (EIP-7702) The transaction data as result of an eth_getTransactionByHash rpc-call. Supports Ethereum types 0-4, Optimism deposited transactions (0x7E) and the Arbitrum Nitro types 0x64, 0x65, 0x66, 0x68, 0x69 and 0x6A. The extra Nitro fields are flat RPC names. Their mask bits stay clear for every non-Arbitrum type, so those JSON objects do not grow a new key.
The Type is defined in src/chains/eth/ssz/verify_data_types.h.
class EthTxData(Container):
_optmask : Uint64 # bitmask of included fields (8 bytes, bits 0-63)
blockHash : Bytes32 # the blockHash of the execution block containing the transaction
blockNumber : Uint64 # the number of the execution block containing the transaction
hash : Bytes32 # the hash of the transaction
transactionIndex : Uint32 # the index of the transaction in the block
type : Uint8 # the type of the transaction
nonce : Uint64 # the nonce of the transaction
input : Bytes[1073741824] # the raw transaction payload
r : Uint256 # the r value of the transaction signature (QUANTITY per RPC spec)
s : Uint256 # the s value of the transaction signature (QUANTITY per RPC spec)
chainId : Uint64 # the chain ID of the transaction
v : Uint64 # the v value of the transaction signature
gas : Uint64 # the gas limit
from : Address # the sender of the transaction
to : NullableBytes[20] # the target of the transaction
value : Uint256 # the value of the transaction
gasPrice : Uint64 # the gas price of the transaction
maxFeePerGas : Uint64 # the maxFeePerGas of the transaction
maxPriorityFeePerGas : Uint64 # the maxPriorityFeePerGas of the transaction
accessList : ProgList [EthAccessListData] # the access list of the transaction
authorizationList : ProgList [EthAuthorizationListData] # the authorization list of the transaction (EIP-7702)
blobVersionedHashes : ProgList [bytes32] # the blobVersionedHashes of the transaction
yParity : Uint8 # the yParity of the transaction
sourceHash : Bytes32 # unique identifier for deposit origin (OP Stack only)
mint : Uint256 # ETH value to mint on L2 (OP Stack only) - rendered as uint
isSystemTx : Boolean # system transaction flag as bytes (OP Stack only) - rendered as uint
depositReceiptVersion : Uint8 # deposit receipt version (OP Stack only) - rendered as uint
maxFeePerBlobGas : Uint256 # the maximum fee per blob gas the sender is willing to pay (EIP-4844, type-3 only)
blockTimestamp : Uint64 # the timestamp of the block containing the transaction (post-Cancun)
requestId : Bytes32 # Arbitrum deposit, contract and submit-retryable
ticketId : Bytes32 # Arbitrum retry
maxRefund : Uint256 # Arbitrum retry, wei refund cap
submissionFeeRefund : Uint256 # Arbitrum retry
refundTo : Address # Arbitrum retry, and submit-retryable fee refund address
l1BaseFee : Uint256 # Arbitrum submit-retryable
depositValue : Uint256 # Arbitrum submit-retryable
retryTo : NullableBytes[20] # Arbitrum submit-retryable; omitted when the RLP address is nil
retryValue : Uint256 # Arbitrum submit-retryable
retryData : Bytes[1073741824] # Arbitrum submit-retryable calldata (empty renders as "0x")
beneficiary : Address # Arbitrum submit-retryable
maxSubmissionFee : Uint256 # Arbitrum submit-retryable
Referenced Types
EthAuthorizationListData
Container type for access list entries Entry in the authorization list of a transaction or call.
The Type is defined in src/chains/eth/ssz/verify_data_types.h.
class EthAuthorizationListData(Container):
address : Address # the codebase to be used for the authorization
chainId : Uint64 # the chainId of the authorization (EIP-7702)
nonce : Uint64 # nonce of the transaction
r : Uint256 # the r value of the transaction signature (QUANTITY per RPC spec)
s : Uint256 # the s value of the transaction signature (QUANTITY per RPC spec)
yParity : Uint8 # the yParity of the transaction
EthAccessListData
Entry in the access list of a transaction or call.
The Type is defined in src/chains/eth/ssz/verify_data_types.h.
class EthAccessListData(Container):
address : Address # the address in the access list
storageKeys : ProgList [bytes32] # the storage keys accessed at this address