curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "debug_storageRangeAt",
"id": 1,
"params": [
"0xc40b7058b5b80e565dfb986fe852c047733291291c8de1be8888ae64b5457bbd",
25,
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"0x00000000000000000000000000000000",
2
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"storage": {},
"complete": true
}
}
curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "debug_storageRangeAt",
"id": 1,
"params": [
"0xc40b7058b5b80e565dfb986fe852c047733291291c8de1be8888ae64b5457bbd",
25,
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"0x00000000000000000000000000000000",
2
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"storage": {},
"complete": true
}
}
debug_storageRangeAt
method. See Using eth_getStorageAt instead of debug_storageRangeAt on Reth.debug_storageRangeAt
RPC method retrieves storage entries from a contract at a specific block. This method is useful for developers and analysts who need to inspect the state of a contract’s storage at a particular point in time.
debug_storageRangeAt
, send a POST request with a JSON RPC call in the body.
string
): The hash of the block.integer
): The index of the transaction in the block.string
): The address of the contract.string
): The starting point of the storage to inspect.integer
): The maximum number of storage entries to return.object
): A map of storage entries.boolean
): Indicates whether the snapshot of storage is complete.debug_storageRangeAt
method is essential for:
Storage data for the specified range
The response is of type object
.