Interface WithdrawGrams

Withdraws all available TON Grams of the current user directly to the TON wallet of the current user, which is created automatically if the user has no wallet yet. The user must have a valid temporary password; see createTemporaryPassword. If the wallet is being created, then the request fails with the error "WALLET_CREATING" and must be repeated later. The withdrawal is completed only after the transaction is confirmed on the TON blockchain. Request type for Tdjson#withdrawGrams.

interface WithdrawGrams {
    @type: "withdrawGrams";
}

Properties

Properties

@type: "withdrawGrams"