Skip to main content
You can securely export the private key for a WaaS wallet account. On web you specify an HTML element to host an iframe containing the private key; on React Native you mount the <ExportPrivateKey /> component, which hosts the key inside a screenshot-protected native WebView. In every case the key is rendered inside a sandboxed document and never crosses into your application’s JavaScript.

Usage

Error Handling

  • If the specified wallet account is not a WaaS WalletAccount, it will throw an NotWaasWalletAccountError error.
Last modified on July 22, 2026