Skip to main content

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 include 0x prefix). Must match walletMetadata.accountAddress.
  • walletMetadata (WalletMetadata) - The cached metadata for this wallet

Optional Parameters

  • password (string) - Required if the wallet was created with backUpToDynamic: true
  • backupInfo (KeyShareBackupInfo) - Pre-resolved backup info; if omitted the SDK reads it from walletMetadata

Returns

  • Promise<ServerKeyShare[]> - Array of external server key shares

Example

Error Handling

Last modified on May 21, 2026