eth

Ethereum (ETH)

Method: POST debug_storageRangeAt

dropdown

POST debug_storageRangeAt

Method not allowed

Remix uses debug_storageRangeAt to implement debugging. Use the Debugger tab in Remix instead of calling debug_storageRangeAt directly.

Returns the contract storage for the specified range.

Parameters

blockHash - data

Block hash.

txIndex - integer

Transaction index from which to start.

address - data

Contract address.

startKey - hash

Start key.

limit - integer

Number of storage entries to return.

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "debug_storageRangeAt",
"params": [null, null, null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}