Output class

A transaction output that carries a value and program specifying how the value can be spent.

Mixed-in types

Constructors

Output.blank()
The output used for blanking outputs when using SigHashType.single.
Output.fromAddress(BigInt value, Address address)
Output.fromProgram(BigInt value, Program program)
Output.fromReader(BytesReader reader)
factory
Output.fromScriptBytes(BigInt value, Uint8List scriptPubKey)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
program Program?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scriptPubKey Uint8List
no setter
size int
Obtains the cached size of the object
no setterinherited
value BigInt
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Obtains a cached Uint8List with data serialized for this object
inherited
toHex() String
inherited
toString() String
A string representation of this object.
inherited
write(Writer writer) → void
Override to write data into writer
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

maxValue BigInt
Max 64-bit integer
final