Skip to main content

Interface: Utxo_InNode

An unspent transaction output (aka. UTXO, aka. "Coin") with script attached Useful when getting utxos by something other than script, e.g. tokenId

Properties

blockHeight

blockHeight: number

Which block this UTXO is in, or -1 if in the mempool.

Defined in

src/ChronikClientNode.ts:1297


isCoinbase

isCoinbase: boolean

Whether this UTXO is a coinbase UTXO (make sure it's buried 100 blocks before spending!)

Defined in

src/ChronikClientNode.ts:1300


isFinal

isFinal: boolean

Is this utxo avalanche finalized

Defined in

src/ChronikClientNode.ts:1306


outpoint

outpoint: OutPoint

Outpoint of the UTXO.

Defined in

src/ChronikClientNode.ts:1295


script

script: string

Bytecode of the script of the output

Defined in

src/ChronikClientNode.ts:1304


token

Optional token: Token_InNode

Token value attached to this utxo

Defined in

src/ChronikClientNode.ts:1308


value

value: number

Value of the UTXO in satoshis.

Defined in

src/ChronikClientNode.ts:1302