Receipt Proof
A Receipt Proof verifies a transaction receipt and its inclusion 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. - Receipt Inclusion: A Patricia Merkle proof against the header's
receiptsRootdelivers the raw receipt as the leaf. - Transaction Binding: A Patricia Merkle proof against the header's
transactionsRootdelivers the raw transaction (used fortransactionHashand sender recovery).

This Proof is used for the following RPC-Methods:
EthReceiptProof
The main proof data for a receipt.
The Type is defined in src/chains/eth/ssz/verify_proof_types.h.
class EthReceiptProof(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.
receiptProof : ProgList [bytes_1024] # the Patricia Merkle Proof of the receipt, the leaf contains the raw receipt.
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
EthReceiptData
Container type for log entries in transaction receipts The transaction receipt data as returned by eth_getTransactionReceipt.
The Type is defined in src/chains/eth/ssz/verify_data_types.h.
class EthReceiptData(Container):
_optmask : Uint32 # bitmask defining the properties shown in json
blockHash : Bytes32 # the blockHash of the execution block containing the transaction
blockNumber : Uint64 # the number of the execution block containing the transaction
transactionHash : Bytes32 # the hash of the transaction
transactionIndex : Uint32 # the index of the transaction in the block
type : Uint8 # the type of the transaction
from : Address # the sender of the transaction
to : NullableBytes[20] # the target of the transaction
cumulativeGasUsed : Uint64 # the cumulative gas used in the block up to and including this transaction
gasUsed : Uint64 # the gas used by this transaction alone
logs : ProgList [EthReceiptDataLog] # the logs of the transaction
logsBloom : ByteVector [256] # the bloom filter of the logs
status : Uint8 # the status of the transaction
effectiveGasPrice : Uint64 # the effective gas price of the transaction
depositNonce : Uint64 # the deposit nonce of the transaction
depositReceiptVersion : Uint32 # the deposit receipt version of the transaction
contractAddress : NullableBytes[20] # address of the created contract (contract-creation only)
blobGasUsed : Uint64 # blob gas used by the transaction (EIP-4844, type-3 only)
blobGasPrice : Uint64 # blob gas price paid by the transaction (EIP-4844, type-3 only)
l1BlockNumber : Uint64 # Arbitrum Nitro: L1 block number from mixHash/prevRandao bytes 8..16
Referenced Types