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

# eth_getAssetBalance

> Retrieves the balance of a specific non-AVAX asset held by an address at a specific block number or hash.

### Parameters

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

<ParamField body="params" type="object" default={["0x8D97689C9818892B700e27F316cc3E41e17fBeb9","latest","0xf20d962a6c8f70c731bd838a3a388d7d48fa6e15"]} placeholder="[&#x22;0x8D97689C9818892B700e27F316cc3E41e17fBeb9&#x22;,&#x22;latest&#x22;,&#x22;0xf20d962a6c8f70c731bd838a3a388d7d48fa6e15&#x22;]" required>
  Parameters: \[address, blk, assetID]

  Positional parameters for <code>eth\_getAssetBalance</code>:

  <ul>
    <li><code>params\[0]</code>: The address of the asset owner.</li>
    <li><code>params\[1]</code>: Block identifier: block number or block hash (hex or tag).</li>
    <li><code>params\[2]</code>: The asset ID for which the balance is requested.</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="string">
  Hexadecimal string representing the asset balance. Example: <code>"0x16345785d8a0000"</code>.
</ResponseField>

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

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