eth_getProof

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

Parameters

Returns


Request

{
  "jsonrpc": "2.0",
  "method": "eth_getProof",
  "params": [
    "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
    ["0x0000000000000000000000000000000000000000000000000000000000000000"],
    "latest"
  ],
  "id": 1
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "address": "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
    "accountProof": ["0xf90211a090dcaf88c40c7bbc95a912cbdde67c175767b31173df9ee4b0d733bfdd511c43"],
    "balance": "0xde0b6b3a7640000",
    "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
    "nonce": "0x0",
    "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "storageProof": [
      {
        "key": "0x0000000000000000000000000000000000000000000000000000000000000000",
        "value": "0x0",
        "proof": ["0xf90211a090dcaf88c40c7bbc95a912cbdde67c175767b31173df9ee4b0d733bfdd511c43"]
      }
    ]
  }
}

Last updated