Transaction class
Represents a Monero (or Wownero) transaction for a given wallet.
Constructors
-
Transaction({required String displayLabel, required String description, required BigInt fee, required int confirmations, required int blockHeight, required int accountIndex, required Set<
int> addressIndexes, required String paymentId, required BigInt amount, required bool isSpend, required String hash, required String key, required DateTime timeStamp, required MinConfirms minConfirms})
Properties
- accountIndex → int
-
The index of the account associated with this transaction.
final
-
addressIndexes
→ Set<
int> -
A set of indexes corresponding to addresses associated with this transaction.
final
- amount → BigInt
-
The amount of funds transferred in this transaction, represented in atomic units.
final
- blockHeight → int
-
The block height at which this transaction was included.
final
- confirmations → int
-
The number of confirmations this transaction has received.
final
- description → String
-
A description of the transaction, providing additional context or details.
final
- displayLabel → String
-
A label to display for the transaction, providing a human-readable identifier.
final
- fee → BigInt
-
The transaction fee in atomic units.
final
- hash → String
-
The unique hash of this transaction (txid).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConfirmed → bool
-
Flag indicating whether the transaction is confirmed.
no setter
- isPending → bool
-
Flag indicating whether the transaction is pending (i.e., not yet confirmed).
no setter
- isSpend → bool
-
Flag indicating whether this transaction is a spend transaction.
final
- key → String
-
A key used to prove a transaction was made and relayed and to verify its details.
final
- minConfirms → MinConfirms
-
The minimum number of confirmations required for this transaction.
final
- paymentId → String
-
An optional payment identifier, used to associate this transaction with a payment.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeStamp → DateTime
-
The timestamp of when this transaction was created or recorded.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> map) → Transaction -
fromRawMap(
Map< String, dynamic> map) → Transaction