Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Function Signature
Description
Checks whether a specific wallet operation requires backup shares to be restored before it can complete. Useful for deciding whether to prompt the user for a password.Parameters
Required Parameters
accountAddress(string) - The wallet address (must include0xprefix). Must matchwalletMetadata.accountAddress.walletOperation(WalletOperation) - The wallet operation to checkwalletMetadata(WalletMetadata) - The cached metadata for this wallet
Optional Parameters
backupInfo(KeyShareBackupInfo) - Pre-resolved backup info; if omitted the SDK reads it fromwalletMetadata.
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