Use Case
Analyze Bitcoin inputs to:- Track Taproot adoption by monitoring witness_v1_taproot inputs
- Analyze UTXO spending patterns by script type
- Monitor value flow from specific address types
- Build spending analytics dashboards
Sample Response
Field Descriptions
transactionIndex- Index of the parent transaction within the blockinputIndex- Index of this input within the transactiontxid- Transaction ID of the output being spent (the prevout reference, not the input’s own transaction)vout- Index of the output being spent in the referenced transactionprevoutValue- Value of the spent output in BTC, returned as a decimal float (not satoshis)prevoutScriptPubKeyType- Script type of the spent output (e.g.witness_v1_taproot)prevoutScriptPubKeyAddress- Address of the spent output
Coinbase inputs. The coinbase input (
transactionIndex 0 in each block) mints new value rather than spending a prior output, so prevoutValue and prevoutScriptPubKeyAddress come back as null. Skip or special-case it in flow logic.Joining to the parent transaction. The txid above is the spent output’s transaction. To get the txid of the transaction this input belongs to, request the transactions table ("transactions": [{}]) and join by transactionIndex.