Skip to main content
function exportSolanaAccount(options: ExportSolanaAccountOptions): Promise<ExportSolanaAccountResult>;
Exports the private key of a Solana account.

Parameters

ParameterTypeDescription
optionsExportSolanaAccountOptionsThe options for exporting the account.

Returns

Promise<ExportSolanaAccountResult> The result of the export.

Example

const result = await exportSolanaAccount({
  solanaAccount: "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
});
I