ElectrumOutput class
Constructors
- ElectrumOutput({required ElectrumScriptPubKey scriptPubKey, required BigInt value, required int n, bool belongsToUs = false, bool spent = false, required NodeWithAddress node})
-
const
- ElectrumOutput.fromJson(Map json)
-
Zeniq: { value_coin || value_satoshi: int, ... }
Bitcoin: { value: float, ... }
factory
Properties
- belongsToUs → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- n → int
-
final
- node → NodeWithAddress
-
Only available if belongsToUs is true
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scriptPubKey → ElectrumScriptPubKey
-
final
- spent → bool
-
final
- value → BigInt
-
final
Methods
-
copyWith(
{bool? belongsToUs, bool? spent, NodeWithAddress? node}) → ElectrumOutput -
getAddress(
UTXONetworkType type, {AddressType? addressType}) → String -
getAddresses(
{required UTXONetworkType networkType, required Iterable< AddressType> addressTypes}) → Iterable<String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited