Function Signature
Description
Exports external server key shares for a wallet. Verifies the password, then recovers and returns the plaintext shares.
Parameters
Required Parameters
accountAddress (string) - The wallet address. Must match walletMetadata.accountAddress.
walletMetadata (WalletMetadata) - The cached metadata for this wallet
Optional Parameters
password (string) - Wallet password (required if the wallet is password-encrypted)
Returns
Promise<ServerKeyShare[]> - Array of exported external server key shares
Example
Last modified on May 21, 2026