Skip to main content

eth_getProof

Returns the account and storage values of the specified account including the Merkle-proof.

Params

(3)

1. account (required)

string<hex>

2. block_number (required)

(any of)
string<hex>

3. keys (required)

array[string<hex>]

Result

(MonadEthGetProofResult)
account_proof
array[integer]
required
balance
integer
required
code_hash
integer
required
nonce
integer
required
>= 0
storage_hash
integer
required
storage_proof
array[StorageProof]
required
key
string<hex>
required
proof
array[string<hex>]
required
value
string<hex>
required

Params

account

block_number

keys


Request

await window.ethereum.request({
"method": "eth_getProof",
"params": [
null,
null,
null
]
});