Function Signature
Description
Checks whether a specific wallet operation requires backup shares to be restored for the given wallet address. This is useful for determining if backup recovery is needed before performing operations.Parameters
Required Parameters
accountAddress(string) - The wallet address to check (must include0xprefix)walletOperation(WalletOperation) - The wallet operation to check
Returns
Promise<boolean>-trueif backup restore is required,falseotherwise
Example
Available Wallet Operations
SIGN_MESSAGE- Message signing operationsSIGN_TRANSACTION- Transaction signing operationsEXPORT_PRIVATE_KEY- Private key export operations
Error Handling
Related Functions
requiresPasswordForOperation()- Check if password is requiredrecoverEncryptedBackupByWallet()- Recover encrypted backup