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

# avax.getUTXOs

> Gets the UTXOs that reference a given address.

### Parameters

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

<ParamField body="params" type="object" default={{}} required>
  Parameters for <code>avax.getUTXOs</code>:

  <ul>
    <li><code>params.addresses</code>: Array of addresses to search UTXOs for.</li>
    <li><code>params.limit</code>: Maximum number of UTXOs to fetch (default: 1024)</li>
    <li><code>params.startIndex</code>: Start index for pagination.</li>
    <li><code>params.sourceChain</code>: Source chain name (e.g., X, P)</li>
    <li><code>params.encoding</code>: Optional encoding for returned UTXOs</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  The JSON-RPC result.

  <Expandable title="properties">
    <ResponseField name="numFetched" type="string">
      Number of UTXOs fetched
    </ResponseField>

    <ResponseField name="utxos" type="array">
      List of UTXO strings

      <Expandable title="items">
        <ResponseField name="items[]" type="string">
          Encoded UTXO
        </ResponseField>
      </Expandable>
    </ResponseField>

    <ResponseField name="endIndex" type="object">
      Index of the last UTXO returned; use this to continue pagination

      <Expandable title="properties">
        <ResponseField name="address" type="string" />

        <ResponseField name="utxo" type="string" />
      </Expandable>
    </ResponseField>

    <ResponseField name="encoding" type="string">
      Encoding of returned UTXOs
    </ResponseField>
  </Expandable>
</ResponseField>

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

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