Function Signature
Description
Retrieves external server key shares for a specific wallet address. These key shares are required for signing operations and must be obtained before performing any wallet operations.Parameters
Required Parameters
accountAddress(string) - The wallet address to get key shares for (must include0xprefix)
Optional Parameters
password(string) - Wallet password (if wallet is password-protected)
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