Blockchain.com · Schema

UnspentResponse

Unspent outputs for the requested addresses.

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
notice string Optional explanatory notice.
unspent_outputs array List of UTXOs.
View JSON Schema on GitHub

JSON Schema

data-api-unspent-response-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-response-schema.json",
  "title": "UnspentResponse",
  "description": "Unspent outputs for the requested addresses.",
  "type": "object",
  "properties": {
    "notice": {
      "type": "string",
      "description": "Optional explanatory notice."
    },
    "unspent_outputs": {
      "type": "array",
      "description": "List of UTXOs.",
      "items": {
        "type": "object",
        "description": "A single UTXO owned by one of the requested addresses.",
        "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
          }
        }
      }
    }
  }
}