curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_accountRange",
"params": [
"",
"",
0,
{}
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Returns the accounts within a specific key range for the given block state.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_accountRange",
"params": [
"",
"",
0,
{}
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
debug_accountRange:params[0]: Block number or hash at which to inspect state (hex quantity or 32-byte hash).params[1]: Hex-encoded start account key (inclusive).params[2]: Maximum number of accounts to return.params[3]: Optional context returned from a previous call to continue iteration.curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=137 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "debug_accountRange",
"params": [
"",
"",
0,
{}
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?