TransactionOutput class
Represents a transaction output.
Constructors
- TransactionOutput.forPayment(int amount, String address, {bool isChangeOutput = false})
-
factory
- TransactionOutput.parse(String output)
-
Parse the transaction output from the given output hex.
factory
Properties
- amount → int
-
Get the amount of the output.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isChangeOutput ↔ bool?
-
getter/setter pair
- length → int
-
The length of the transaction output.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptPubKey → ScriptPublicKey
-
Get the script public key object of the transaction output.
no setter
Methods
-
getAddress(
) → String - Get the address of the transaction output.
-
isDustOutput(
bool isSegwit, {int dustRelayFee = 3}) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → String - Serialize the transaction output.
-
setAmount(
int amount) → void - Get the Bitcoin amount of the output.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override