# eth\_getProof

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

This method will use `30` [Compute Units](/v1/about/billing.md).

***

## **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 rlp-serialized MerkleTree-Nodes which starts with the stateRoot-Node and follows the path of the SHA3 address as key.
* `balance` - The current balance of the account in wei.
* `codeHash` - A 32 byte hash of the code of the account.
* `nonce` - The hash of the generated proof-of-work. Null if pending.
* `storageHash` - A 32 byte SHA3 of the storageRoot. All storage will deliver a MerkleProof starting with this rootHash.
* `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 rlp-serialized MerkleTree-Nodes which starts with the stateRoot-Node and follows the path of the SHA3 address as key.

```bash
// Result
{
	"jsonrpc": "2.0",
	"result": {
		"address": "0x7f0d15c7faae65896648c8273b6d7e43f58fa842",
		"balance": "0x0",
		"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
		"nonce": "0x0",
		"storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
		"accountProof": [
			"0xf90211a015d9057d3961b2d0b7b38b6a48e46d27cdbbd012c1df068e94485c18b92a49f7a09ac8ec633689330a348a9e4c94589c37c2c1b7b15e9bf7a7ccb8947ec11094a4a080653bd425d41733357ed90fdeb59dcff6793605578902d7f5f653c33f439f3ba08c59499097d1a20d54eea5c6e73aa6a2d057775b059c51454fbdf9738bf1497ea0738bdd2f1aeec515d0c739fb555f3836bc0d4910d770c31ad6a8dd3b33270bfba0bf53bd9ec0223e5306c38ae6e426ef5a9f793a5428f842a4223c21d37857c841a0ef60a01f7261e7d7709cb754527e9e6149e9e274ad712e49af58cf52fdfad6a5a02a27e1930d7edc46082bcbecfeaa4bbe84a8a335733a4cf6b61f2be51e0afb14a0686e366d69dfc7583fa71e044e3da77910ba1afca4a5a353f9fb43b8a877f793a09f7fd703a6b7436e340bae44718fbb549d1369a5b927f22792a67fb60c0e9cc2a0802d3c4792e68207474f7ee20573e654bc5a52e8acca45e2036ee6bbb8401e1aa01b36321dc23a244851b77ef1ea975a5f7750be000841a06a8b0113d7f7cea339a09f97a97249a4d6ba32d1e4c3663891afbc12e389e6ba56a3ce76ee54d4de5ce7a013bd47d227b100a24447535b5a5ffbdede68980aa68101e543fa241f72e2fc7aa0e32efb2c993e71d1a3a76000bb2830039ee8850784f7011c8c8bba44c6ffa427a078412f10a5878b7e2a686b91eb4cb61105acae8b770d742b6c401316b8d698b080",
			"0xf90211a01e36c6b557c9a0265d4a6a39670cefdff4ee5e91954c15fb01dfd8eb32f58ae7a0b5e52df4eb2735f94bbbaeb82f2ceef93cd84c7367322c0ecadcdc1b9e517b50a067d27901f1f7ce727c9067923dda6b2909d984f208f2d597ab97966bba3ac353a08a2e90f70ba49c7e3ba4d70a09f76918bd4e23db39d077080066b96012490cf3a06b3eb445321c5b607a2874bb90fb267cf51be949ea6322893b48f528130f503fa019b2bb08837578a66dbcabde04cdc45fb890899419b424d6fc81686ba3aec6f4a078435b1ae32e69ebcb026304f01a52d5712d37a6013f819f29fa37c06b30f4eca0cf9e53fcaa2296396cd10e373f60832882c505f59dc26ec983460db9c4aa9c26a08bec888e2770ff673f5a44d760c717258c50888cb586864d96871d40d92729e5a01955233a171b0da8bfd539540a23a12b5ffb152032c82d763a379a3d8fe581f6a0b1c6547e728c467bf1e5b686ed5e3206bed9dc0f34000859c0c9181e49fac6f7a0f47c879f1ee237378675c6a20717973cd68c2e45547cbe6260447e00b7378936a06825ebc14c6f3d6dbe75717863fbca6ef9f9686e213b87171f232065bff394b3a02eec93d93fb9c353aa9edab6dabe9fc15d58e05f4b2fb66b99e8d67091482125a02fc7a46e316bce4bef773af29c28700dff06c7078828d778b8e5786cf4810fd0a006df26cd91194ce2808204bf641ea9a610fafe44899cdfdc2e50b29d6051b97580",
			"0xf90211a03e1c8759626086deda35eb1a61e399e5da40c28777d32aef3ca2a4c2239f2250a02d1a0fbdda0711af6fa933b0fb682fba0fbee7fe3f2bbb1f0343d8fd7be0e387a0d54737ac52b63242bb76d606c59ed93c7785df343e6f11667218acd54e740059a01afc97f93efdc6d5b6af0ddb3306d5d66fc25a31b17ca510c0135fde805715aba0d8417f524d5c30313b24464fe89127294462f5c1e8820a4b4351b22d8d1aca3ea068792ff5ce5ec285812f4bca903af02a05e26e75de9fedfe4f270eb7be63c162a098ad19364c561f03360d3c6839f7e82dc09dddc6eba6ff11129b0352b05bb685a0b028601001c185bc59f812f4086859c317a5ae815148495420fc3910b86a9202a030689bcf4e1c9b4cad4c21505b87fc6abf6f1eaa144aa4ee5ab343013a69ee54a04db126ccdb6fa7a9c4d038e4b6723bed0ef24298b9153bfb5e9484ec48c01b77a002b0aabc1a05cd7eef801aff295dcdf14778c82433471ea6c77de440f82411f1a0f747ef6cae43e5459e4fe3b73b6428961285f14122fd7bc00335bd1f41bef730a0506c3cefe37965d3b4cb9ba034635ec8fa7b1d2aeec5d2deca7f4dfaef0bd010a081991dbf3251e1e1334d90fa0813e504fa1b80e77a92d3239dc912d499434aa9a04e4b9e88713aa3fb70d644579b91328b152e8004bd88a7a250bd1689a97dfa29a0a1232196ae6136c4805e0150454661f5eebe5a158851fd64387fe057a48fb91280",
			"0xf90211a008c020748a531aaeecde6cbe3206d68b781d31859704c2af066abe38728941d4a05eef78795cf30ca52798d68c541485dad9d26f89527407286874c1ad2af95d4fa0bfb6eee8dad9f93997183c6e12383cfa45598e5da4b0188560a280ef706bac0fa00acf58e0981f5a202a3877c6fe0d6e0f18cc1b93f0e49374e483d4aa03483985a082a2f0682533cfd36c2fac4ef8f7eea73394d7584d1d4bf31f846c5b6d803f36a0780bab511d2a6c68d78b661f778994dba63144b1f29d1bbf2109d7098fbf9233a034bec0c76df88b3af4038c0ca5cc2f715e423655e0e7b40b00e854f3a4997bbfa02f1e571037cd3b0790e980bc65840ba1c62daffbb6b5023ef44b50cb551d9dd2a07f3ecb3b06a165480e5a6ca49c9707d71c0f1cffc1526203194ed9997ff0a243a0274f5d3563e16e3389d349d81af666da9e6ec4cc4af1c3a661e62169f10e7033a0457e5f7d91be4ffe901690eeea3675c647f2a720b31499c8e5a8de85902b01b5a08ee36026af971762cea310f6751be0ef6a9d1b103c485df15f3538651cdc1397a01c134e009f9256b8fd25b5166afbaad7cf6db72d98b80b4c079943ffa93005b6a06bd82d56535f752d99618197d452ccbd7960e164d70b5bfca56e693bd7784623a086c5d052e45d399b81c3ed1b2be2511926dcaf85c45d62a700c87051a9ae0329a07a8080d8d830c0da2f851c6bc1eb37a9ed3458534fb8a5d3ce39b24d46f8d87780",
			"0xf90211a0671276519e5b7e45ddf67ebb4e00ffa5f9761ade5082fa67c8baa7fdfa085585a01d5e68044acbdbda08b6eb109b086ea11b4de5e56a8baef55648e64f656376bba021d1130775930aca26146135b9580358c193c220de48d462b3e61c03ecffc8d4a09b5580247b61fc094c5e51ab6305abe91197904f618f1d75bf868ecb5932a99ea0896c270d3256eaf6955d3b296a8fcb7312ca71f80302cd72d04e58a806c17a33a0b85d926ac89fcf01ec8bee96bd0b552a2100c02533c88aba9c9310d6c91c09a9a08ca3f9afff0453f908d90ed1c80ea0df5d7f750002bfa408aa79036e991a22eda0fbb63e229271a10e6417e6f8e8413cb0b27b1f739c19f2f948140800842ba958a0eb39932a3869634332916e873cfb77bd82e5be0c315a284230b3e4da0370ce6ea01503d0ed96d72df7142e22be26ca1ac4cd48cdcb5196f4ce8141daf78590f726a0ded34904cfc5b75354ba3df18639810a60baf1a60dcba03895b46d23341f2501a0951fe13d6230c5655606f18759c0c40ea4a6442594eaa3a12ab3237f9789accba0cae47c9901895a45c7609c85b6f7bc211fa54385737b09ede0daf73ec2bdfb25a0288b86c3951d9aa1850e0be26a599050e343f3a21dfa41cfc8e01cb0d33a393ca0989e3ad2f16123a285e1bced8ade69a246e41d9a557d9cf06d935612a1e33663a003b56d829502b1b1179ce49b15cd632fb52913cb9be8ae28bf172ab7c5a083dd80",
			"0xf90211a021d5e5fdfe1c990547acdcffec90f2841212f0874cfd5724cc3b8dda346d8fb1a0567505c012d1d6825b00cd62cbf16f2bfec28d26f2d8665db62df6f84cb556bfa06a71f1b1b948eb00af7039269a99c2d9014fa68911764464e89680848152d999a031bd67f563149970a0877b535effd6569dd7343437011e8522d412e3791a7b48a068c33bc74cece74b29c42eee0481827d3bc35f69758961cd689b4069e8dc14eba0a94f7051072bdf9e83fd104f11291cecb124d6317923e387ebf71c77bb1e2ecda0dd8ab17e666aba49b7f5bfc40f447cf9323a727625deb8a5e259ef9459be423fa01b04a09123393e592d046e485e29485c9bf5024720e316910c307881bf79ad11a0d43bf40c57902a100a11cab2669069259c0b17f015ea3b0da6ea18a093d92080a04a0264404f66f26c93c14805443eacd7b6f6757b536f373b01999a4ebfe2f8efa01f6d67768d9322e67c3f0c4d39a08bef47ff19ad2dd43f4d921339bbc1bf8b4ca064c62a1f64a52411fcb5b44b0fa0cade4081bbd4b43442c0b9ae48e6c256e442a02ec0491f6200b1e68049f5fb5ea26cb8c1fa85e6d30c409e0b3017a5964acae2a0341dee99469fea9fd8e585c5add8bf7ac4c55e046743d796f4f8dae5089a0491a013fd904fd36e51e4da3c1366fa49e88b9e1b287e110310e8db121277b9c80284a0d95ba7c19b6ba9a173efdac22192ac15c8f16d0b795a727ab2ac04abc84179ba80",
			"0xf8f18080a02d5eb06137bf0779237997519d2e538205091056d888ac83778727a2f4b8833ba00fa13aae6fd893c1dbd6c9eb7e9e503b575108b4da6f3627e2c0de2397771ab9a0ba0dbcc9c5feabaf3beec71ce170b322062a033ffd873df2cd2d8b9eda38b4d080a02fb7c52c24d933b51bce738dffa8b4bef1cb52f22d1f3abe7e4b728000aaab678080a0e34cea561a011bc91683850bba6e4694184a813c565768db2f45cc84449a104b8080a0006caf80ca6bf80f432c800d9be8f7890d90bee3c6e31c406080928b2f041fbd8080a00b4d0a8c819cb996dcb0daf8381481ebe205c6f30b8625b096cd7c5d55ec85cb80",
			"0xf8669d3bed7ab1a3e64e604fa73213b885de5080e12b7700fe6650cca5c570c8b846f8440180a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a080929766ad5643c7622606e035bb0ad3d7f9ae9286829dee6e20d61211a79195"
		],
		"storageProof": [
			{
				"key": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
				"value": "0x0",
				"proof": []
			}
		]
	},
	"id": 1
}
```

{% tabs %}
{% tab title="mainnet" %}

```bash
curl https://mainnet.berachain.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}'

```

{% endtab %}

{% tab title="testnet" %}

```bash
curl https://bepolia.berachain.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getProof", "id": 1, "params": ["0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842", ["0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"], "latest"]}'

```

{% endtab %}
{% endtabs %}


---

# 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://docs.validationcloud.io/v1/berachain/execution-api/eth_getproof.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.
