Blockchain.com · Schema

UnspentOutput

A single UTXO owned by one of the requested addresses.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
tx_hash string Hash of the funding transaction (little-endian).
tx_hash_big_endian string Hash of the funding transaction (big-endian).
tx_output_n integer Output index within the funding transaction.
script string Output script (scriptPubKey) as hex.
value integer Output value in Satoshi.
value_hex string Output value in hex.
confirmations integer Number of confirmations.
tx_index integer Internal transaction index.
View JSON Schema on GitHub

JSON Schema

data-api-unspent-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockchain/refs/heads/main/json-schema/data-api-unspent-output-schema.json",
  "title": "UnspentOutput",
  "description": "A single UTXO owned by one of the requested addresses.",
  "type": "object",
  "properties": {
    "tx_hash": {
      "type": "string",
      "description": "Hash of the funding transaction (little-endian).",
      "example": "00000000000000000004f4e7a18a09b1f8e96d6fb01d9b6fce4d12cb3f8a7e21"
    },
    "tx_hash_big_endian": {
      "type": "string",
      "description": "Hash of the funding transaction (big-endian).",
      "example": "00000000000000000004f4e7a18a09b1f8e96d6fb01d9b6fce4d12cb3f8a7e21"
    },
    "tx_output_n": {
      "type": "integer",
      "description": "Output index within the funding transaction.",
      "example": 1
    },
    "script": {
      "type": "string",
      "description": "Output script (scriptPubKey) as hex."
    },
    "value": {
      "type": "integer",
      "format": "int64",
      "description": "Output value in Satoshi.",
      "example": 100000
    },
    "value_hex": {
      "type": "string",
      "description": "Output value in hex."
    },
    "confirmations": {
      "type": "integer",
      "description": "Number of confirmations.",
      "example": 1
    },
    "tx_index": {
      "type": "integer",
      "format": "int64",
      "description": "Internal transaction index.",
      "example": 1
    }
  }
}