curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--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": []
}
Returns the storage at the given block height and transaction index. The result can be paged by providing a maxResult to cap the number of storage slots returned as well as specifying the offset via keyStart (hash of storage key).
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--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": []
}
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.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--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": []
}
Was this page helpful?