---
title: "Get all UTXOs for a transaction in JSON format."
method: GET
path: "/api/v1/utxos/{hash}/json"
tags: ["utxo"]
---

# Get all UTXOs for a transaction in JSON format.

`GET /api/v1/utxos/{hash}/json`

Returns detailed UTXO information for each output.

## Path parameters

- `hash` string, required

## Response `200`

UTXO list by transaction

- UTXOItem[]
  - `lockTime` integer — LockTime specifies when this UTXO becomes spendable. Only present if the UTXO has a time lock.
  - `lockingScript` integer[] — Script type
  - `satoshis` integer — Satoshis represents the amount of this output in satoshis
  - `spendingData` SpendingData
    - `txId` integer[] — Hash is used in several of the bitcoin messages and common structures. It typically represents the double sha256 of data.
    - `vin` integer — Vin is the input index in the spending transaction
  - `status` string — Status indicates the current state of the UTXO (e.g., "SPENT", "NOT_FOUND")
  - `txid` integer[] — Hash is used in several of the bitcoin messages and common structures. It typically represents the double sha256 of data.
  - `utxoHash` integer[] — Hash is used in several of the bitcoin messages and common structures. It typically represents the double sha256 of data.
  - `vout` integer — Vout is the index of this output in the creating transaction

## Other responses

- `400` — Error response
- `404` — Error response

---

[API](https://skmtc.net/bsv-blockchain/apis/teranode-asset-service-api.md) · [All operations](https://skmtc.net/bsv-blockchain/apis/teranode-asset-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bsv-blockchain/teranode-asset-service-api/revisions/5bc9be41e029/schema)
