replace_wallet()

async Client.replace_wallet()

Replace the active wallet with a new or imported wallet.

Usable by Users Bots
Parameters:
Returns:

WalletState – On success, the updated wallet state is returned.

Example

state = await app.replace_wallet(wallet=raw.types.InputWalletNew())