Interface: Utxo
An unspent transaction output (aka. UTXO, aka. "Coin") of a script.
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
network
• network: Network
Which network this UTXO is on.
Defined in
outpoint
• outpoint: OutPoint
Outpoint of the UTXO.
Defined in
slpMeta
• slpMeta: undefined
| SlpMeta
SLP data in this UTXO.
Defined in
slpToken
• slpToken: undefined
| SlpToken
SLP token of this UTXO (i.e. SLP amount + whether it's a mint baton).
Defined in
value
• value: string
Value of the UTXO in satoshis.