Skip to main content
Hook that provides a wrapped function to export EVM account private keys with authentication checks. This hook uses useEnforceAuthenticated to ensure the user is signed in before attempting to export.

Returns

Example

Deprecated

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

See

useEvmKeyExportIframe