> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# debug_accountRange

> Returns the accounts within a specific key range for the given block state.

### Parameters

<ParamField query="chainId" type="string" default="10200" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="debug_accountRange" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["","",0,{}]} placeholder="[&#x22;&#x22;,&#x22;&#x22;,0,{}]" required>
  Parameters: \[blockIdentifier, startKey, maxResults, context?].

  Positional parameters for <code>debug\_accountRange</code>:

  <ul>
    <li><code>params\[0]</code>: Block number or hash at which to inspect state (hex quantity or 32-byte hash).</li>
    <li><code>params\[1]</code>: Hex-encoded start account key (inclusive).</li>
    <li><code>params\[2]</code>: Maximum number of accounts to return.</li>
    <li><code>params\[3]</code>: Optional context returned from a previous call to continue iteration.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Account range response including account details and continuation token.

  <Expandable title="properties">
    <ResponseField name="accounts" type="object" />

    <ResponseField name="nextKey" type="string">
      Next account key to resume iteration, or null if complete.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10200 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "debug_accountRange",
      "params": [
        "",
        "",
        0,
        {}
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {}
  }
  ```
</ResponseExample>
