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 the per-share backup status and an updatedbackupInfo — merge backupInfo into your cached walletMetadata.externalServerKeySharesBackupInfo to keep it consistent.
Parameters
Required Parameters
accountAddress(string) - The wallet address (must include0xprefix). 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’s key share service
Optional Parameters
password(string) - Required whenbackUpToDynamicistrue; used to encrypt the backup
Returns
Promise<object>keySharesWithBackupStatus— per-share backup statusbackupInfo(KeyShareBackupInfo) — updated backup-pointer state; merge into cachedwalletMetadata.
Example
Related
WalletMetadata- The metadata object passed to every operationstoreEncryptedBackupByWalletWithRetry()- Store backup with automatic retry on transient failuresrecoverEncryptedBackupByWallet()- Recover encrypted backup