> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getProof

Returns the account and storage values of the specified account including the Merkle-proof.

This method will use `40` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

> [!NOTE]
>
> Cronos Mainnet keeps state for the last 362,880 blocks, about 42 hours at Cronos's block time of under half a second. Requests for an older block return JSON-RPC error `-32000` with a message that contains `failed to load state at height`.
>
> Cronos proofs are Cosmos SDK store proofs, not Ethereum Merkle Patricia trie proofs, and `storageHash` is always zero. Ethereum proof libraries cannot verify them.

## **Parameters**

1. `address`- String - The address of the account for which the balance is to be checked.
2. `storageKeys` - Array\[Strings] - An array of storage-keys that should be proofed and included.
3. `blockNumber` - String -  The block number as a string in hexadecimal format or the string `"latest"`, `"earliest"` or `"pending"`, see the [default block parameter](https://ethereum.org/en/developers/docs/apis/json-rpc/#default-block-parameter).

## Returns

* `address` - The address associated with the account.
* `accountProof` - An array of protobuf-encoded Cosmos SDK (IAVL/ICS-23) commitment proofs from the account (`acc`) store.
* `balance` - The current balance of the account in wei.
* `codeHash` - A 32 byte hash of the code of the account.
* `nonce` - The account's transaction count (nonce), as a hexadecimal value.
* `storageHash` - The 32-byte storage root of the account. Every storage proof starts from this root hash.
* `storageProof` - An array of storage-entries as requested. Each entry is an object with the following fields:
  * `key` - The requested storage key.
  * `value` - The storage value.
  * `proof` - An array of protobuf-encoded Cosmos SDK (IAVL/ICS-23) commitment proofs from the `evm` store.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "address": "0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23",
    "accountProof": [
      "0x0a92090a15015c7f8a570d578ed84e63fdfa7b1ee72deae1ae231298010a1e2f65746865726d696e742e74797065732e76312e4574684163636f756e7412760a...",
      "0x0aff010a036163631220c406fa9a18031411e8f44902c0e1b2ab9128238078e61e9125eae0f00a9ad0c71a090801180120012a0100222708011201011a2038d8..."
    ],
    "balance": "0x235ef29e9e5e25f7ac0be8e",
    "codeHash": "0xf16f217d75ea4586e6ebd2745ed3fdf98d27c3ac3289486ef001f31e94f20610",
    "nonce": "0x1",
    "storageHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "storageProof": [
      {
        "key": "0x0",
        "value": "0x577261707065642043524f000000000000000000000000000000000000000016",
        "proof": [
          "0x0a950a0a35025c7f8a570d578ed84e63fdfa7b1ee72deae1ae230000000000000000000000000000000000000000000000000000000000000000122057726170...",
          "0x0afd010a0365766d12200d2bd1bb720a41f46b32939b0f61b27a4d9401fa08b1e89aeb81f798ed76ca991a090801180120012a0100222708011201011a200d45..."
        ]
      }
    ]
  }
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.cronos.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_getProof","params":["0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23",["0x0"],"latest"],"id":1}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.