Reshares a wallet with a new threshold signature scheme
chainName
(string
) - The name of the blockchain chain (e.g., ‘base-sepolia’)accountAddress
(string
) - The wallet address to reshare (must include 0x
prefix)oldThresholdSignatureScheme
(ThresholdSignatureScheme
) - The current threshold signature schemenewThresholdSignatureScheme
(ThresholdSignatureScheme
) - The new threshold signature schemepassword
(string
) - Wallet password for authenticationPromise<any[]>
- Array of new key sharesTWO_OF_TWO
- Requires both shares to signTWO_OF_THREE
- Requires any two of three shares to signTHREE_OF_FIVE
- Requires any three of five shares to signcreateWalletAccount()
- Create new wallet with threshold schemerefreshWalletAccountShares()
- Refresh wallet account shares