> ## 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

> Call eth_getProof on Goldsky Edge RPC to return the account value and storage slots at an EVM address with the Merkle proofs needed to verify them.

## Parameters

**address** `string` *required*

Address of the account (20 bytes)

**storageKeys** `array` *required*

Array of storage keys to prove

**blockNumber** `string` *required*

Block number (hex), or `latest`, `earliest`, `pending`, `safe`, `finalized`

## Returns

**proof** `object`

Account proof object with balance, nonce, codeHash, storageHash, accountProof, and storageProof

## Example

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

```javascript JavaScript theme={"dark"}
const response = await fetch('https://edge.goldsky.com/standard/evm/1?key=demo', {
  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={"dark"}
import requests

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


## Related topics

- [eth_getBalance](https://docs.goldsky.com/edge-rpc/evm/methods/eth_getBalance.md)
- [eth_getCode](https://docs.goldsky.com/edge-rpc/evm/methods/eth_getCode.md)
- [eth_getLogs](https://docs.goldsky.com/edge-rpc/evm/methods/eth_getLogs.md)
- [eth_getStorageAt](https://docs.goldsky.com/edge-rpc/evm/methods/eth_getStorageAt.md)
- [eth_getBlockByHash](https://docs.goldsky.com/edge-rpc/evm/methods/eth_getBlockByHash.md)
