> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exportPrivateKey

> Exports an eligible embedded wallet private key after required verification.

<MethodDocs
  defaultExpanded={true}
  preventCollapse={true}
  name="exportPrivateKey()"
  description="Exports the private key for a wallet, optionally opening a popup window."
  async={true}
  parameters={[
{
  name: "walletId",
  type: "string",
  optional: true,
  description: "The ID of the wallet to export the private key for."
},
{
  name: "shouldOpenPopup",
  type: "boolean",
  optional: true,
  description: "Whether to open a popup window for the export."
}
]}
  returns={{
type: "{ popupWindow?: Window; url: string }",
description: "An object containing the export URL and optionally the popup window reference."
}}
/>
