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 a password. Useful for branching UI before prompting the user for a password.Parameters
Required Parameters
accountAddress(string) - The wallet address (must include0xprefix). Must matchwalletMetadata.accountAddress.walletMetadata(WalletMetadata) - The cached metadata for this wallet
Optional Parameters
walletOperation(WalletOperation) - The wallet operation to check (defaults toREACH_THRESHOLD)backupInfo(KeyShareBackupInfo) - Pre-resolved backup info; if omitted the SDK reads it fromwalletMetadata.
Returns
Promise<boolean>-trueif password 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
verifyPassword()- Verify wallet passwordsignMessage()- Sign a messagesignTransaction()- Sign a transaction