Returns the account and storage values of an address with Merkle proofs (EIP-1186).
L0vd nodes run Erigon, which serves proofs for recent blocks only. For an old block the node returns an error; read historical values with eth_getStorageAt or eth_getBalance instead.
Storage slots to prove, each as a full 32-byte hex value (slot 0 is "0x" followed by 64 zeros). Short forms like "0x0" are rejected by some clients.
blockstring必填
Block number in hex (e.g. "0x1208a5f") or a tag: "latest", "safe", "finalized", "earliest" or "pending". L0vd endpoints run archive nodes, so any historical block works.
返回值
objectAccount proof object.
balancestring
Account balance, hex wei.
noncestring
Account nonce, hex.
codeHashstring
Hash of the account code.
storageHashstring
Root of the account's storage trie.
accountProofarray
RLP-encoded trie nodes from the state root to the account.
storageProofarray
Key, value and proof for each requested slot.
适用场景
Get an account and selected storage slots together with Merkle proofs against the block's state root (EIP-1186).
Used by bridges, light clients and auditors to prove a balance or storage value without trusting the RPC provider.
如何解读结果
accountProof is the list of trie nodes from the state root to the account; each storageProof entry proves one slot against storageHash.
Verify with the stateRoot from eth_getBlockByNumber for the same block.
提示
Proofs are large (several kilobytes per slot). Request only the slots you need.
Request proofs for recent blocks ("latest" or the last few thousand blocks). L0vd nodes run Erigon, which does not build proofs for old blocks.