ElectrumOutput class
Constructors
- ElectrumOutput({required ElectrumScriptPubKey scriptPubKey, required BigInt value, required int n, bool belongsToUs = false, bool spent = false, required dynamic 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 → dynamic
-
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, dynamic node}) → ElectrumOutput -
getAddress(
dynamic type, {dynamic addressType}) → String -
getAddresses(
{required dynamic networkType, required Iterable addressTypes}) → Iterable< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → dynamic -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited