> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getProof

> Returns the account and storage values for a given address along with the Merkle proof needed to verify the data against the state root.

### Parameters

**chainId** `string` *required* (default: 1)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_getProof)

JSON-RPC method name.

**params** `object` *required*

Parameters: \[address, storageKeys, blockParameter]

Positional parameters for `eth_getProof`:

<ul>
  <li>`params[0]`: The 20-byte address to check for balance, nonce, and storage.</li>
  <li>`params[1]`: Array of 32-byte storage keys (hex) to be included in the proof.</li>
  <li>`params[2]`: Block number or tag ("latest", "earliest", "pending", "safe", "finalized").</li>
</ul>

### Returns

**result** `object`

Account details and Merkle proofs for storage verification.

**properties**

**address** `string`

The address of the account.

**balance** `string`

Hex-encoded balance of the account in wei.

**nonce** `string`

Transaction count (nonce) of the account.

**codeHash** `string`

32-byte hash of the code of the account.

**storageHash** `string`

SHA3 hash of the storage root.

**accountProof** `array`

Array of RLP-encoded nodes forming the Merkle proof for the account.

**items**

**items\[]** `string`

**storageProof** `array`

Array of storage entries with their Merkle proofs.

**items**

**items\[]** `object`

**properties**

**key** `string`

Storage key queried.

**value** `string`

Hex-encoded value stored at the key.

**proof** `array`

RLP-encoded Merkle proof nodes for this storage key.

**items**

**items\[]** `string`

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getProof",
    "params": [
      "0x7F0d15C7FAae65896648C8273B6d7E43f58Fa842",
      [
        "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
      ],
      "latest"
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "address": "0x7f0d15c7faae65896648c8273b6d7e43f58fa842",
    "balance": "0x0",
    "nonce": "0x0",
    "codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
    "storageHash": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "accountProof": [
      "0xf90211a0...",
      "0xf90151a0..."
    ],
    "storageProof": [
      {
        "key": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
        "value": "0x0",
        "proof": [
          "..."
        ]
      }
    ]
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.