Skip to main content

Interface: UtxoState

State of a UTXO (from validateUtxos).

Properties

height

height: number

Height of the UTXO. -1 if the tx doesn't exist or is unconfirmed. If it's confirmed (or if the output doesn't exist but the tx does), it's the height of the block confirming the tx.

Defined in

src/ChronikClient.ts:1029


isConfirmed

isConfirmed: boolean

Whether the UTXO or the transaction queried is confirmed.

Defined in

src/ChronikClient.ts:1031


state

state: UtxoStateVariant

State of the UTXO, can be unconfirmed, confirmed, tx doesn't exist or output doesn't exist.

Defined in

src/ChronikClient.ts:1036