UTXOTransaction class final
- Inheritance
-
- Object
- GenericTransaction
- UTXOTransaction
- Implementers
Constructors
-
UTXOTransaction({required int block, required Amount? fee, required String hash, required int timeMilli, required Amount amount, required String sender, required String recipient, required CoinEntity token, required TransactionTransferMethod transferMethod, required int confirmations, required ConfirmationStatus status, required List<
ElectrumInput> inputs, required List<ElectrumOutput> outputs, required String id, required int version}) -
const
-
UTXOTransaction.create({required Map<
String, dynamic> json, required UTXONetworkType type, required Iterable<AddressType> addressTypes, required Iterable<NodeWithAddress> nodes, required Iterable<ElectrumOutput> spentOutputs}) -
factory
- UTXOTransaction.fromJson(Map json)
-
factory
Properties
- amount → Amount
-
finalinherited
- block → int
-
finalinherited
- confirmations → int
-
finalinherited
- dateTime → DateTime
-
no setterinherited
- evmTx → EVMTransaction?
-
no setterinherited
- fee → Amount?
-
finalinherited
- hash → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
-
inputs
→ List<
ElectrumInput> -
final
- isConfirmed → bool
-
no setterinherited
- isFailed → bool
-
no setterinherited
- isPending → bool
-
no setterinherited
-
outputs
→ List<
ElectrumOutput> -
final
- recipient → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String
-
finalinherited
- status → ConfirmationStatus
-
finalinherited
- timeMilli → int
-
finalinherited
- token → CoinEntity
-
finalinherited
- totalValue → BigInt
-
no setterinherited
- transferMethod → TransactionTransferMethod
-
finalinherited
- value → BigInt
-
no setterinherited
- version → int
-
final
Methods
-
compareTo(
GenericTransaction other) → int -
Compares this object to another object.
inherited
-
copyWith(
{int? block, Amount? fee, String? hash, int? timeMilli, Amount? amount, String? sender, String? recipient, CoinEntity? token, TransactionTransferMethod? transferMethod, int? confirmations, List< ElectrumInput> ? inputs, List<ElectrumOutput> ? outputs, String? id, int? version, ConfirmationStatus? status}) → UTXOTransaction -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited