Function Signature
Description
Exports wallet key data for a specific chain. This function provides access to wallet key information for backup or migration purposes.Parameters
Required Parameters
accountAddress(string) - The wallet address to export key forexternalServerKeyShares(any[]) - Array of external server key sharespassword(string) - Wallet password for securitychainName(string) - The chain name (e.g., ‘solana’)
Returns
Promise<any>- The exported key data
Example
Error Handling
Related Functions
exportPrivateKey()- Export private keyofflineExportKey()- Export key offline