delete_ton_wallet()¶
- async Client.delete_ton_wallet()¶
Delete the current TON wallet of the user and create a new one.
Usable by Users Bots- Parameters:
password (
str, optional) – Two-step verification password of the current user.- Returns:
TonWalletState– On success, the state of the new wallet is returned.
Example
state = await app.delete_ton_wallet(password="password")