---
title: "Transaction UTXOs"
method: GET
path: "/txs/{hash}/utxos"
tags: ["Cardano » Transactions"]
---

# Transaction UTXOs

`GET /txs/{hash}/utxos`

Return the inputs and UTXOs of the specific transaction.

## Path parameters

- `hash` string, 64-character case-sensitive hexadecimal string, required

## Response `200`

Return the contents of the transaction.

- TxContentUtxo
  - `hash` string, required — Transaction hash
  - `inputs` object[], required
    - `address` string, required — Input address
    - `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
    - `tx_hash` string, required — Hash of the UTXO transaction
    - `output_index` integer, required — UTXO index in the transaction
    - `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, nullable, required — The hash of the reference script of the input
    - `collateral` boolean, required — Whether the input is a collateral consumed on script validation failure
    - `reference` boolean — Whether the input is a reference transaction input
  - `outputs` object[], required
    - `address` string, required — Output address
    - `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
    - `output_index` integer, required — UTXO index in the transaction
    - `data_hash` string, nullable, required — The hash of the transaction output datum
    - `inline_datum` string, nullable, required — CBOR encoded inline datum
    - `collateral` boolean, required — Whether the output is a collateral output
    - `reference_script_hash` string, nullable, required — The hash of the reference script of the output
    - `consumed_by_tx` string, nullable — Transaction hash that consumed the UTXO or null for unconsumed UTXOs. Always null for collateral outputs.

## 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/txpipe/apis/blockfrost-io-api-documentation.md) · [All operations](https://skmtc.net/txpipe/apis/blockfrost-io-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/txpipe/blockfrost-io-api-documentation/revisions/4a2f67b16876/schema)
