Blockchain.com · Example Payload

Data Api Tx Input Example

CryptocurrencyBitcoinBlockchain DataExchangeMarket DataTradingPaymentsPublic APIs

Data Api Tx Input Example is an example object payload from Blockchain.com, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

sequencewitnessscriptprev_out

Example Payload

Raw ↑
{
  "sequence": 1,
  "witness": "example-value",
  "script": "example-value",
  "prev_out": {
    "type": 1,
    "spent": true,
    "value": 100000,
    "spending_outpoints": [
      {
        "tx_index": 1,
        "n": 1
      }
    ],
    "n": 1,
    "tx_index": 1,
    "script": "example-value",
    "addr": "example-value"
  }
}