For the complete documentation index, see llms.txt. This page is also available as Markdown.

eth_getProof

POST https://mainnet.valuechain.xyz

Returns the account and storage Merkle proofs for an address.

Parameters

Name
Type
Required
Description

address

address

Yes

Account address.

storageKeys

data[]

Yes

Storage slots to include in the proof.

block

quantity or tag

Yes

Hex block number, or earliest, latest, safe, finalized, or pending. See block tags.

Result

Proof (object): Account proof, storage proofs, balance, nonce, code hash, and storage hash.

Example

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "address": "0x7779ef1c26a0437f9fbd06e21f238da8b8336cf2",
    "balance": "0x0",
    "nonce": "0x5d5d",
    "storageProof": []
  }
}

Code examples

cURL

JavaScript

Python

Last updated