Interface DeleteTonWallet

Deletes the current TON wallet of the user and creates a new one; can be used only if getOption("can_use_ton_wallet"). Request type for Tdjson#deleteTonWallet.

interface DeleteTonWallet {
    @type: "deleteTonWallet";
    password: string;
}

Properties

Properties

@type: "deleteTonWallet"
password: string

Password of the current user; pass an empty string unless receive an error with a message "PASSWORD_MISSING" for a passwordless request.