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 a wallet. This function requires external server key shares and a valid password for security.Parameters
Required Parameters
accountAddress(string) - The wallet address to export private key forexternalServerKeyShares(ServerKeyShare[]) - Array of external server key shares (optional)password(string) - Wallet password for security
Returns
Promise<string>- The exported private key
Example
Error Handling
Related Functions
exportKey()- Export wallet keyofflineExportPrivateKey()- Export private key offline