Skip to main content
A hook for creating a secure iframe to export EVM private keys. This hook handles the communication with a secure iframe that safely exports EVM private keys to the user’s clipboard without exposing them to the JavaScript context. The iframe will be automatically cleaned up when the component unmounts or when the session expires.

Parameters

Returns

UseKeyExportIframeResult An object containing the iframe status and control functions.

Example