Struct Output

Represents an entry in the UTXO

struct Output ;

This is created by a valid Transaction and is added to the UTXO after a transaction is confirmed.

Constructors

NameDescription
this (type, lock, value) Ctor
this (value, key, type) Kept here for backwards-compatibility

Fields

NameTypeDescription
lock LockThe lock condition for this Output
type OutputTypeType of output
value AmountThe monetary value of this output, in 1/10^7

Properties

NameTypeDescription
address[get] PublicKeyKept here for backwards compatibility with tests which do not expect lock scripts.

Methods

NameDescription
opCmp (rhs) Support for sorting
sizeInBytes () The size of the Output object