Skip to main content
Hook to register a listener for MFA verification requirements. When a sensitive operation (like signing a transaction) requires MFA verification, the onMfaRequired callback will be invoked. The consumer should show their custom MFA UI and use useInitiateMfaVerification and useSubmitMfaVerification to complete the verification flow. After successful MFA verification, the original operation will automatically continue.

Parameters

Returns

void

Example