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 the private key for the SVM wallet identified by the suppliedwalletMetadata. Returns a base58-encoded Solana keypair string.
Parameters
Required Parameters
walletMetadata(WalletMetadata) - Non-sensitive wallet metadata persisted fromcreateWalletAccount()/importPrivateKey().
Optional Parameters
password(string) - Required if the wallet was created withbackUpToDynamic: true.externalServerKeyShares(ServerKeyShare[]) - Caller-supplied plaintext shares.
Returns
Promise<string>- Base58-encoded Solana keypair
Example
Related
WalletMetadata- The metadata object passed to every operationimportPrivateKey()- Import existing private key