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
Stores encrypted backup for a wallet’s external server key shares on Dynamic’s key share service. Returns per-share backup status and an updatedbackupInfo — merge backupInfo into your cached walletMetadata.externalServerKeySharesBackupInfo.
Parameters
Required Parameters
accountAddress(string) - The wallet address. Must matchwalletMetadata.accountAddress.walletMetadata(WalletMetadata) - The cached metadata for this walletexternalServerKeyShares(ServerKeyShare[]) - Plaintext shares to back upbackUpToDynamic(boolean) - Whether to back the shares up to Dynamic
Optional Parameters
password(string) - Required whenbackUpToDynamicistrue
Returns
Promise<object>-{ keySharesWithBackupStatus, backupInfo }. MergebackupInfointo cachedwalletMetadata.
Example
Related
storeEncryptedBackupByWalletWithRetry()- Store backup with automatic retryrecoverEncryptedBackupByWallet()- Recover encrypted backup