POSTgettxout
https://bitcoin-mainnet.nodit.io/Returns details about the unspent transaction output (UTXO) with the given transaction id and output index.
null is returned when the output has already been spent.
It contains following parameters in order:
txid: The transaction id to look up, as a string. (required)n: The index of the output to look up, as an integer. (required)include_mempool: Whether to include the mempool, as a boolean. (optional, defaulttrue)
The transaction id to look up.
The index of the output to look up.
Whether to include the mempool.
When true, an output that is spent in the mempool is not returned.
The hash of the block at the tip of the chain.
The number of confirmations of the transaction containing the output.
The value of the output, denominated in BTC.
Disassembly of the script.
Inferred descriptor for the script.
The raw script bytes, hex-encoded.
The Bitcoin address for the script. Returned only when a well-defined address exists.
The output type.
nonstandard: A script that does not match any standard type.anchor: A Pay-to-Anchor (P2A) output.pubkey: An output locked directly by a public key (P2PK).pubkeyhash: An output locked by a public key hash (P2PKH).scripthash: An output locked by a script hash (P2SH).multisig: An output that requires multiple signatures.nulldata: An output that only records data via OP_RETURN.witness_v0_keyhash: A SegWit v0 public key hash output (P2WPKH).witness_v0_scripthash: A SegWit v0 script hash output (P2WSH).witness_v1_taproot: A Taproot output (P2TR).witness_unknown: An output with an unknown witness version.
예: witness_v0_keyhash
Whether the output is a coinbase output.