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

# eth_getProof

> Returns the account and storage values with Merkle proof

## Parameters

<ParamField body="address" type="string" required>
  Address of the account (20 bytes)
</ParamField>

<ParamField body="storageKeys" type="array" required>
  Array of storage keys to prove
</ParamField>

<ParamField body="blockNumber" type="string" required>
  Block number (hex), or `latest`, `earliest`, `pending`, `safe`, `finalized`
</ParamField>

## Returns

<ParamField body="proof" type="object">
  Account proof object with balance, nonce, codeHash, storageHash, accountProof, and storageProof
</ParamField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc": "2.0", "method": "eth_getProof", "params": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", ["0x0"], "latest"], "id": 1}'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
    "jsonrpc": "2.0",
    "method": "eth_getProof",
    "params": [
      "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      [
        "0x0"
      ],
      "latest"
    ],
    "id": 1
  })
  });
  const { result } = await response.json();
  console.log(result);
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      'https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET',
      json={
    "jsonrpc": "2.0",
    "method": "eth_getProof",
    "params": [
      "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      [
        "0x0"
      ],
      "latest"
    ],
    "id": 1
  }
  )
  print(response.json()['result'])
  ```
</CodeGroup>
