> ## 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.

# zks_getAllAccountBalances

> Returns all balances for confirmed tokens given by an account address.

### Parameters

<ParamField query="chainId" type="string" default="232" 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="zks_getAllAccountBalances" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0x98E9D288743839e96A8005a6B51C770Bbf7788C0"]} placeholder="[&#x22;0x98E9D288743839e96A8005a6B51C770Bbf7788C0&#x22;]" required>
  Positional parameters for <code>zks\_getAllAccountBalances</code>:

  <ul>
    <li><code>params\[]</code>: The account address to retrieve confirmed token balances for.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Key-value pairs of token addresses and their corresponding balances (in hex).
</ResponseField>

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

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