> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# AccountProof

:::info
`AccountProof` is a re-export of ox's [`AccountProof`](https://oxlib.sh/api/AccountProof). Refer to the ox documentation for the full reference.
:::

Utilities & types for working with Account Proofs as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/state.yaml)

## Functions

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`AccountProof.fromRpc`](/docs/utilities/accountproof/fromRpc) | Converts an [`AccountProof.Rpc`](/docs/utilities/accountproof/types#rpc) to an [`AccountProof.AccountProof`](/docs/utilities/accountproof/types#accountproof). |
| [`AccountProof.toRpc`](/docs/utilities/accountproof/toRpc) | Converts an [`AccountProof.AccountProof`](/docs/utilities/accountproof/types#accountproof) to an [`AccountProof.Rpc`](/docs/utilities/accountproof/types#rpc). |

## Types

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`AccountProof.AccountProof`](/docs/utilities/accountproof/types#accountproofaccountproof) | An Account Proof as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/state.yaml). |
| [`AccountProof.Rpc`](/docs/utilities/accountproof/types#accountproofrpc) | An RPC Account Proof as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/state.yaml). |
| [`AccountProof.StorageProof`](/docs/utilities/accountproof/types#accountproofstorageproof) | A Storage Proof as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/state.yaml). |
| [`AccountProof.StorageProofRpc`](/docs/utilities/accountproof/types#accountproofstorageproofrpc) | An RPC Storage Proof as defined in the [Execution API specification](https://github.com/ethereum/execution-apis/blob/main/src/schemas/state.yaml). |
