SendTonWalletTransaction class
Sends a transaction signed by the application from the TON wallet of the current user without adding a message about it to any chat; can be used only if getOption("can_use_ton_wallet"). Use the method to send transactions described by upgradedGiftDepositInfo, giftOnChainPurchaseOfferTransaction, and GiftOnChainSaleTransaction objects Returns TonWalletTransferResult
- Inheritance
-
- Object
- TdFunction
- SendTonWalletTransaction
- Available extensions
- Annotations
-
- @immutable
Constructors
- SendTonWalletTransaction({required String regularTransactionData, required String gaslessTransactionData})
-
const
Properties
- gaslessTransactionData → String
-
gaslessTransactionData Serialized signed data for a gasless transaction;
pass an empty string to force a regular transaction
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- regularTransactionData → String
-
regularTransactionData Serialized signed data for a regular transaction
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? regularTransactionData, String? gaslessTransactionData}) → SendTonWalletTransaction -
Available on SendTonWalletTransaction, provided by the SendTonWalletTransactionExtensions 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
Constants
- constructor → const String