Account Proof

Represents the account and storage values, including the Merkle proof, of the specified account.

This Proof is used for the following RPC-Methods:

OpStorageProof

Represents the storage proof of a key. The value can be taken from the last entry, which is the leaf of the proof.

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

class OpStorageProof(Container):
    key   : Bytes32                 # the key to be proven
    proof : List [bytes_1024, 1024] # Patricia merkle proof

OpAccountProof

Container type for storage proof data The main proof data for an account.

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

class OpAccountProof(Container):
    accountProof : List [bytes_1024, 256]     # Patricia Merkle proof
    address      : Address                    # the address of the account
    storageProof : List [OpStorageProof, 256] # the storage proofs of the selected storage keys
    block_proof  : Union [                    # proof for the block header
        OpPreconf]                            # preconfirmation proof (sequencer-signed execution payload)

Referenced Types

Last updated