Skip to main content

Function Signature

Description

Checks whether a wallet’s backup is password-encrypted. This is read off the walletMetadata.externalServerKeySharesBackupInfo.passwordEncrypted flag.

Parameters

Required Parameters

  • accountAddress (string) - The wallet address (must include 0x prefix). Must match walletMetadata.accountAddress.
  • walletMetadata (WalletMetadata) - The cached metadata for this wallet

Optional Parameters

  • backupInfo (KeyShareBackupInfo) - Pre-resolved backup info; if omitted the SDK reads it from walletMetadata.

Returns

  • Promise<boolean> - true if the wallet’s backup is password-encrypted, false otherwise

Example

Last modified on May 21, 2026