Skip to main content
Exports the private key of a Solana account.

Parameters

Returns

Promise<ExportSolanaAccountResult> The result of the export.

Example

Deprecated

This function will be removed soon. Use createSolanaKeyExportIframe instead for a more secure key export experience that never exposes the private key to your application’s JavaScript context.

See

createSolanaKeyExportIframe