Function Signature
Description
Checks whether a specific wallet operation requires backup shares to be restored. This is useful for determining if backup recovery is needed before performing operations.Parameters
Required Parameters
accountAddress(string) - The wallet address to checkwalletOperation(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
recoverEncryptedBackupByWallet()- Recover encrypted backupstoreEncryptedBackupByWallet()- Store encrypted backup