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
Retrieves external server key shares for the wallet by recovering them from backup using the supplied password. Returns the recovered plaintext shares.Parameters
Required Parameters
accountAddress(string) - The wallet address (must include0xprefix). Must matchwalletMetadata.accountAddress.walletMetadata(WalletMetadata) - The cached metadata for this wallet
Optional Parameters
password(string) - Required if the wallet was created withbackUpToDynamic: truebackupInfo(KeyShareBackupInfo) - Pre-resolved backup info; if omitted the SDK reads it fromwalletMetadata
Returns
Promise<ServerKeyShare[]>- Array of external server key shares
Example
Error Handling
Related Functions
signTransaction()- Sign a transaction using key sharessignMessage()- Sign a message using key shares