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

# Get UTXOs

> Unspent outputs for a wallet

Returns the unspent transaction outputs owned by a wallet, identified by its payment-key hash.

Paginate by requesting 100 at a time until the response returns fewer than `limit` entries — that's the last page.

**Auth:** Public

## Request body

<ParamField body="pkh" type="string" required>
  Payment-key hash of the wallet to inspect.
</ParamField>

<ParamField body="offset" type="integer" default="0">
  Pagination offset.
</ParamField>

<ParamField body="limit" type="integer" default="100">
  Max results per request.
</ParamField>

<ParamField body="query" type="string" default="unspent">
  Query mode. Today only `unspent` is supported.
</ParamField>

## Response

<ResponseField name="[]" type="object[]">
  Array of unspent outputs.

  <Expandable title="properties">
    <ResponseField name="txHash" type="string">
      Hash of the transaction that created the output.
    </ResponseField>

    <ResponseField name="index" type="integer">
      Output index within its transaction.
    </ResponseField>

    <ResponseField name="address" type="string">
      Bech32 address of the output.
    </ResponseField>

    <ResponseField name="value" type="object[]">
      Assets in the output — `lovelace` plus any native tokens.

      <Expandable title="properties">
        <ResponseField name="unit" type="string">
          Asset identifier (`lovelace` or a native token asset ID).
        </ResponseField>

        <ResponseField name="amount" type="string">
          Amount as a bigint string.
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://utxo-monitor.snek.fun/getUtxos \
    --header 'Content-Type: application/json' \
    --data '{
      "pkh": "...",
      "offset": 0,
      "limit": 100,
      "query": "unspent"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "txHash": "...",
      "index": 0,
      "address": "addr1...",
      "value": [
        { "unit": "lovelace", "amount": "1000000" },
        { "unit": "abc123...", "amount": "24000" }
      ]
    }
  ]
  ```
</ResponseExample>
