TonWalletTransaction class
Represents a transaction with the TON wallet of the current user
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- TonWalletTransaction({required String id, required String peerAddress, required int peerUserId, required String peerDomain, required int date, required int feeAmount, required TonWalletTransactionState state, required TonWalletTransactionType type})
-
const
Properties
- date → int
-
date Point in time (Unix timestamp) when the transaction was completed
final
- feeAmount → int
-
feeAmount The fee amount paid for the transaction in TON Grams, in the
smallest units of the cryptocurrency
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
id Unique identifier of the transaction
final
- peerAddress → String
-
peerAddress Address in the TON blockchain of the transaction peer; may
be empty if the transaction isn't a wallet transfer
final
- peerDomain → String
-
peerDomain Identifier of the domain assigned to the peer address; may be
empty if none
final
- peerUserId → int
-
peerUserId Identifier of the other user who participated in the
transaction; 0 if unknown
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → TonWalletTransactionState
-
state State of the transaction
final
- type → TonWalletTransactionType
-
type Type of the transaction
final
Methods
-
copyWith(
{String? id, String? peerAddress, int? peerUserId, String? peerDomain, int? date, int? feeAmount, TonWalletTransactionState? state, TonWalletTransactionType? type}) → TonWalletTransaction -
Available on TonWalletTransaction, provided by the TonWalletTransactionExtensions extension
-
getConstructor(
) → String -
override
-
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.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → TonWalletTransaction?
Constants
- constructor → const String