Skip to main content

Parameters

chainId
string
default:"1088"
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_accountRange"
required
JSON-RPC method name.
params
object
required
Parameters: [blockIdentifier, startKey, maxResults, context?].Positional parameters for 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.

Returns

result
object
Account range response including account details and continuation token.
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1088 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "debug_accountRange",
    "params": [
      "",
      "",
      0,
      {}
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {}
}