Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function exportEvmAccount(options: ExportEvmAccountOptions): Promise<ExportEvmAccountResult>;
Exports an EVM account’s private key.

Parameters

ParameterTypeDescription
optionsExportEvmAccountOptionsThe options for the exporting.

Returns

Promise<ExportEvmAccountResult> The result of the export.

Example

const result = await exportEvmAccount({
  evmAccount: "0x1234..."
});

Deprecated

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

See

createEvmKeyExportIframe