enable_wallet_backup()

async Client.enable_wallet_backup()

Enable distributed cloud backup by uploading encrypted wallet secret parts.

Usable by Users Bots
Parameters:
  • parts (List of bytes) – List of encrypted phrase parts.

  • new_public_key (bytes, optional) – New public key for the wallet.

  • proof (WalletOwnershipProof, optional) – Wallet ownership cryptographic proof.

Returns:

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

Example

state = await app.enable_wallet_backup(parts=[b"..."])