Skip to main content

Parameters

chainId
string
default:"11142220"
required
Unique identifier for a blockchain network.
id
number
default:1
required
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"debug_storageRangeAt"
required
JSON-RPC method name.
params
object
required
Parameters: [blockHash, txIdx, contractAddress, keyStart, maxResult]Positional parameters for debug_storageRangeAt:
  • params[0]: 32 Bytes - hash of the block where this transaction was included. Null when pending.
  • params[1]: Index of the transaction within the block.
  • params[2]: 20 Bytes - The contract address created, if the transaction was a contract creation. Null otherwise.
  • params[3]: Starting key (32-byte hex string) used for filtering storage or entries.
  • params[4]: Maximum number of results to return.

Returns

result
array
The array of storage items.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=11142220 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "debug_storageRangeAt",
    "params": [
      "0x76f64c40d6493cf00426be2eecdaf3f968768619bfb21ce6c57921be497ab3f7",
      0,
      "0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5",
      "0x0000000000000000000000000000000000000000000000000000000000000000",
      1
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}