Skip to main content
Options for setting up a key export iframe.

Properties

PropertyTypeDescription
addressstringThe address of the account to export.
targetstring | HTMLElementThe target element: either a CSS selector string or an HTMLElement container. An iframe will be created and appended to the target container.
projectIdstringThe project ID for authentication.
label?stringThe label for the button displayed in the iframe.
copiedLabel?stringThe label to display when the key is copied successfully.
icon?booleanWhether to show an icon in the button. Default true
theme?Partial<SecureIframeTheme>Theme overrides for the iframe button.
onStatusUpdate?(status: SecureIframeStatus, message?: string) => voidCallback invoked when the iframe status changes.