eth_getProof RPC Method
Parameters
address
string
REQUIRED
The address of the account for which the balance is to be checked
storageKeys
array[strings]
REQUIRED
An array of storage-keys that should be proofed and included
blockNumber
string
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. safe and finalized are only supported on Ethereum, Gnosis, Arbitrum, Arbitrum Nova, and Avalanche C-chain
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
poseidonCodeHash
A cryptographic hash (keccak256) representing the Poseidon code
keccakCodeHash
The keccak256 hash of the Ethereum address's code
codeSize
The size of the Ethereum address's code, represented as a hexadecimal string
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
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free