BitcoinTokenOutput class

BitcoinTokenOutput represents details about a Bitcoin cash transaction with cash token output, including the recipient address, token and the value of bitcoins sent to that address.

Implemented types

Constructors

BitcoinTokenOutput({required BitcoinBaseAddress address, required BigInt value, required CashToken token, String? utxoHash})

Properties

address → BitcoinBaseAddress
Address is a Bitcoin address representing the recipient of the transaction output.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → CashToken
final
toOutput → TxOutput
Convert the custom script output to a standard TxOutput.
no setteroverride
utxoHash → String?
final
value → BigInt
The value (amount) of the Bitcoin output.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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