Blockchain.com · Schema

TxOutput

A single Bitcoin transaction output (a UTXO before it is spent).

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Properties

Name Type Description
type integer Output type indicator.
spent boolean True if the output has been spent.
value integer Value in Satoshi.
spending_outpoints array Outpoints that spent this output (when spent).
n integer Output index within the transaction.
tx_index integer Internal transaction index.
script string Output script (scriptPubKey) as hex.
addr string Destination address (when derivable).
View JSON Schema on GitHub

JSON Schema

data-api-tx-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-tx-output-schema.json",
  "title": "TxOutput",
  "description": "A single Bitcoin transaction output (a UTXO before it is spent).",
  "type": "object",
  "properties": {
    "type": {
      "type": "integer",
      "description": "Output type indicator.",
      "example": 1
    },
    "spent": {
      "type": "boolean",
      "description": "True if the output has been spent.",
      "example": true
    },
    "value": {
      "type": "integer",
      "format": "int64",
      "description": "Value in Satoshi.",
      "example": 100000
    },
    "spending_outpoints": {
      "type": "array",
      "description": "Outpoints that spent this output (when spent).",
      "items": {
        "type": "object",
        "properties": {
          "tx_index": {
            "type": "integer",
            "format": "int64"
          },
          "n": {
            "type": "integer"
          }
        }
      }
    },
    "n": {
      "type": "integer",
      "description": "Output index within the transaction.",
      "example": 1
    },
    "tx_index": {
      "type": "integer",
      "format": "int64",
      "description": "Internal transaction index.",
      "example": 1
    },
    "script": {
      "type": "string",
      "description": "Output script (scriptPubKey) as hex."
    },
    "addr": {
      "type": "string",
      "description": "Destination address (when derivable)."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/data-api-tx-output"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.