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

# eth_getStorageAt

> Get the value from a storage position at a given address

Defined in the [Ethereum JSON-RPC Specification](https://ethereum.org/en/developers/docs/apis/json-rpc/)

> [!NOTE]
>
> Returns the value from a storage position at a given address.

## Parameters

**address** `string` *required*

The address to read from (20 bytes).

**position** `string` *required*

Integer of the position in the storage (hexadecimal).

**blockParameter** `string` *required*

Integer block number, or the string "latest", "earliest" or "pending".

## Returns

**result** `string`

The value at this storage position as a hexadecimal string.

```json Request lines wrap expandable theme={null}
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getStorageAt",
  "params": [
    "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
    "0x0",
    "latest"
  ]
}
```

```json Success Response theme={null}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x0000000000000000000000000000000000000000000000000000000000000001"
}
```

## Error Handling

| Code | Message | Description |
| - | - | - |
| -32602 | Invalid address or storage position | Invalid parameters provided |
| 4100 | Requested method not supported | The method is not supported by the wallet |

> [!NOTE]
>
> Storage positions start at 0x0. The result is a 32-byte hexadecimal value representing the data stored at that position.
