Receipt Proof

Represents the proof for a transaction receipt.

This Proof is used for the following RPC-Methods:

OpReceiptProof

The main proof data for a receipt.

The Type is defined in src/chains/op/ssz/op_proof_types.h.

class OpReceiptProof(Container):
    transaction      : Bytes[1073741824]     # the raw transaction payload
    transactionIndex : Uint32                # the index of the transaction in the block
    receipt_proof    : List [bytes_1024, 64] # the Merkle Patricia Proof of the transaction receipt ending in the receipt root
    tx_proof         : List [bytes_1024, 64] # the Merkle Patricia Proof of the transaction (may be empty for preconf blocks since the full execution payload is available)
    block_proof      : Union [               # proof for the right block hash
        OpPreconf]                           # preconfirmation proof (sequencer-signed execution payload)

Referenced Types

Last updated