TxOut

data class TxOut(var value: ULong, var scriptPubkey: Script) : Disposable(source)

Bitcoin transaction output.

Defines new coins to be created as a result of the transaction, along with spending conditions ("script", aka "output script"), which an input spending it must satisfy.

An output that is not yet spent by an input is called Unspent Transaction Output ("UTXO").

Constructors

Link copied to clipboard
constructor(value: ULong, scriptPubkey: Script)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The script which must be satisfied for the output to be spent.

Link copied to clipboard

The value of the output, in satoshis.

Functions

Link copied to clipboard
open override fun destroy()