state
eth_getStorageAt
Read storage slot
Returns the value stored at a contract storage slot.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Required parameters
| Name | Type | Description |
|---|---|---|
addressrequired | address | Contract address. e.g. 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
slotrequired | hex | 32-byte hex-encoded slot index. e.g. 0x0 |
blockrequired | block | Block number (hex) or tag. e.g. latest |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getStorageAt",
"params": [
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"0x0",
"latest"
]
}Response
200 OK32-byte hex-encoded storage value.
{ "jsonrpc": "2.0", "id": 1, "result": "0x0000000000000000000000000000000000000000000000000000000000000001" }