eth_getProof is currently only accessible for the most recent 10000 blocks.Parameters
- addressstringREQUIRED
The address of the account for which the balance is to be checked
- storageKeysarray[strings]REQUIRED
An array of storage-keys that should be proofed and included
- blockNumberstring
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators.
Returns
- addressstring
The address associated with the account
- accountProofarray
An array of rlp-serialized MerkleTree-Nodes which starts with the stateRoot-Node and follows the path of the SHA3 address as key
- balancestring
The account balance
- codeHashstring
The hash of the code associated with the address in hexadecimal format
- noncestring
The hash of the generated proof-of-work. Null if pending
- storageHashstring
A 32 byte SHA3 of the storageRoot. All storage will deliver a MerkleProof starting with this rootHash
- storageProofarray
An array of storage-entries as requested. Each entry is an object with the following fields:
- keystring
The requested storage key
- valuestring
The storage value
- proofarray
An array of rlp-serialized MerkleTree-Nodes which starts with the stateRoot-Node and follows the path of the SHA3 address as key