Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Function Signature
Description
Reshares a wallet with a new threshold signature scheme (e.g. 2-of-2 → 2-of-3). Returns the new shares plus an updatedbackupInfo. Re-cache the backupInfo and the new thresholdSignatureScheme into your stored walletMetadata.
Parameters
Required Parameters
chainName(string) - The chain name (e.g.,'SVM')accountAddress(string) - The wallet address. Must matchwalletMetadata.accountAddress.oldThresholdSignatureScheme(ThresholdSignatureScheme) - The current threshold schemenewThresholdSignatureScheme(ThresholdSignatureScheme) - The new threshold schemewalletMetadata(WalletMetadata) - The cached metadata for this wallet
Optional Parameters
password(string) - Required whenbackUpToDynamicistrue.externalServerKeyShares(ServerKeyShare[]) - Current plaintext shares.backUpToDynamic(boolean) - Whether to back up the new shares.
Returns
Promise<{ externalServerKeyShares, backupInfo }>externalServerKeyShares— The new shares under the new threshold scheme.backupInfo(KeyShareBackupInfo) — Updated backup-pointer state.
Example
Related
WalletMetadata- The metadata object passed to every operationrefreshWalletAccountShares()- Refresh shares without changing threshold