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
isCoinbase
• isCoinbase: boolean
Whether this UTXO is a coinbase UTXO (make sure it's buried 100 blocks before spending!)
Defined in
isFinal
• isFinal: boolean
Is this utxo avalanche finalized
Defined in
outpoint
• outpoint: OutPoint
Outpoint of the UTXO.
Defined in
script
• script: string
Bytecode of the script of the output
Defined in
token
• Optional
token: Token_InNode
Token value attached to this utxo
Defined in
value
• value: number
Value of the UTXO in satoshis.