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
Name | Description |
---|---|
this
(type, lock, value)
|
Ctor |
this
(value, key, type)
|
Kept here for backwards-compatibility |
Fields
Name | Type | Description |
---|---|---|
lock
|
Lock | The lock condition for this Output |
type
|
OutputType | Type of output |
value
|
Amount | The monetary value of this output, in 1/10^7 |
Properties
Name | Type | Description |
---|---|---|
address [get]
|
PublicKey | Kept here for backwards compatibility with tests which do not expect lock scripts. |
Methods
Name | Description |
---|---|
opCmp
(rhs)
|
Support for sorting |
sizeInBytes
()
|
The size of the Output object |