debug
debug_storageRangeAt
Read storage range
Returns a page of contract storage slots at a transaction index within a block. Available only on RPC endpoints with Reth archive node support.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Available only on RPC endpoints with Reth archive node support.
Required parameters
| Name | Type | Description |
|---|---|---|
blockHashrequired | hash | 32-byte block hash. e.g. 0x9b8f4e3a3f2c1d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f |
txIndexrequired | hex | Transaction index within the block, encoded as hex. e.g. 0x0 |
addressrequired | address | Contract address whose storage should be scanned. e.g. 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 |
startKeyrequired | hex | Storage key to start from, encoded as 32-byte hex. e.g. 0x0000000000000000000000000000000000000000000000000000000000000000 |
limitrequired | hex | Maximum number of storage slots to return, encoded as hex. e.g. 0x40 |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_storageRangeAt",
"params": [
"0x9b8f4e3a3f2c1d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f",
"0x0",
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x40"
]
}Response
200 OKObject containing storage entries and the next key, if more entries are available.
{ "jsonrpc": "2.0", "id": 1, "result": { "storage": { "0x000000...0000": { "key": "0x000000...0000", "value": "0x000000...0001" } }, "nextKey": "0x000000...0040" } }