# 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:

* [eth\_getProof](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-proof)
* [eth\_getBalance](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-balance)
* [eth\_getCode](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-code)
* [eth\_getTransactionCount](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-transaction-count)
* [eth\_getStorageAt](https://www.alchemy.com/docs/node/op-mainnet/op-mainnet-api-endpoints/eth-get-storage-at)

## 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](https://github.com/corpus-core/colibri-stateless/blob/v1.1.26/src/chains/op/ssz/op_proof_types.h#L121).

```python
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](https://github.com/corpus-core/colibri-stateless/blob/v1.1.26/src/chains/op/ssz/op_proof_types.h#L129).

```python
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**

* [OpStorageProof](#opstorageproof)
* [OpPreconf](/specification-colibri-stateless/specifications/op-stack.md#oppreconf)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://corpus-core.gitbook.io/specification-colibri-stateless/specifications/op-stack/account-proof.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
