eth_getProof

Returns the Merkle proof for a given account and optionally some storage keys.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
AddressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

The address of the account to generate the proof for.

StorageKeyslist of stringsRequired

An array of storage keys (slots) to generate proofs for.

Blockstring or enumRequired

The block number, tag, or hash at which to generate the proof.

Response

An object containing the account proof and storage proofs.

addressstringformat: "^0x[0-9a-fA-F]{40}$"
accountProoflist of strings
balancestringformat: "^0x([1-9a-f]+[0-9a-f]{0,31})|0$"
codeHashstringformat: "^0x[0-9a-f]{64}$"
noncestringformat: "^0x([1-9a-f]+[0-9a-f]{0,15})|0$"
storageHashstringformat: "^0x[0-9a-f]{64}$"
storageProoflist of objects