Interface SendTonWalletTransaction

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. Request type for Tdjson#sendTonWalletTransaction.

interface SendTonWalletTransaction {
    @type: "sendTonWalletTransaction";
    gasless_transaction_data: string;
    regular_transaction_data: string;
}

Properties

@type: "sendTonWalletTransaction"
gasless_transaction_data: string

Serialized signed data for a gasless transaction; pass an empty string to force a regular transaction.

regular_transaction_data: string

Serialized signed data for a regular transaction.