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
Exports a key for the wallet identified bywalletMetadata. This is the base-class operation that exportPrivateKey() builds on; most callers should use exportPrivateKey() directly.
Parameters
Required Parameters
accountAddress(string) - The wallet address. Must matchwalletMetadata.accountAddress.chainName(string) - The chain name (e.g.,'SVM')walletMetadata(WalletMetadata) - The cached metadata for this wallet
Optional Parameters
externalServerKeyShares(ServerKeyShare[]) - Caller-supplied plaintext shares.password(string) - Required if the wallet was created withbackUpToDynamic: true.
Returns
Promise<{ derivedPrivateKey: string }>- The derived private key
Example
Related
exportPrivateKey()- Customer-friendly export wrapper