Function Signature
Description
Refreshes wallet account shares for a specific wallet address. This function generates new key shares for the wallet while maintaining the same threshold signature scheme.Parameters
Required Parameters
accountAddress(string) - The wallet address to refresh shares for (must include0xprefix)chainName(string) - The name of the blockchain chain (e.g., ‘base-sepolia’)password(string) - Wallet password for authentication
Returns
Promise<any[]>- Array of refreshed key shares
Example
Error Handling
Related Functions
reshare()- Reshare wallet with new thresholdgetExternalServerKeyShares()- Get external server key shares