---
title: "UTXOs holding the script as a reference script"
method: GET
path: "/scripts/{script_hash}/utxos"
tags: ["Cardano » Scripts"]
---

# UTXOs holding the script as a reference script

`GET /scripts/{script_hash}/utxos`

List of UTXOs that hold the given script as a reference script (CIP-33).
These outputs can be used as reference inputs (CIP-31) in a transaction to
execute the script without including its full bytes. A single script may be
held by multiple UTXOs, potentially at different addresses.

## Path parameters

- `script_hash` string, required

## Query parameters

- `count` integer
- `page` integer
- `order` 'asc' | 'desc'

## Response `200`

Return the UTXOs holding the script as a reference script

- object[]
  - `address` string, required — Bech32 encoded address of the UTXO holding the reference script
  - `tx_hash` string, required — Transaction hash of the UTXO
  - `output_index` integer, required — UTXO index in the transaction
  - `amount` object[], required
    - `unit` string, Lovelace or concatenation of asset policy_id and hex-encoded asset_name, required — The unit of the value
    - `quantity` string, required — The quantity of the unit
  - `block` string, required — Block hash of the UTXO
  - `data_hash` string, nullable, required — The hash of the transaction output datum
  - `inline_datum` string, nullable, required — CBOR encoded inline datum
  - `reference_script_hash` string, required — The hash of the reference script of the output. Equals the queried script hash.

## Other responses

- `400` — Bad request
- `403` — Authentication secret is missing or invalid
- `404` — Component not found
- `418` — IP has been auto-banned for extensive sending of requests after usage limit has been reached
- `429` — Usage limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/blockfrost/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/blockfrost/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockfrost/blockfrost-io-api-documentation/revisions/0ea6eaaae405/schema)
