eth_getProof
Returns the merkle proof for a given account and optionally some storage keys.
Params
(3)1. Address (required)
string
Match pattern:
^0x[0-9,a-f,A-F]{40}$
2. StorageKeys (required)
array[string]
3. Block (required)
Block number
(any of)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]*|0)$
Result
(Account)address
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
accountProof
array[string]balance
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,31})|0$
codeHash
stringMatch pattern:
^0x[0-9a-f]{64}$
nonce
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
storageHash
stringMatch pattern:
^0x[0-9a-f]{64}$
storageProof
array[Storage proof]key
stringMatch pattern:
^0x[0-9a-f]{0,64}$
value
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,31})|0$
proof
array[string]