Skip to main content
Initiates an MFA verification flow for operations requiring MFA. This endpoint should be called when a user attempts a sensitive operation (like transaction signing) but doesn’t have a valid MFA-verified session. For TOTP, this prepares a verification session. For SMS, this sends a 6-digit OTP code to the user’s enrolled phone number.

Parameters

ParameterTypeDescription
optionsInitiateMfaVerificationOptionsThe options for initiating MFA verification.

Returns

Promise<void> A promise that resolves if MFA initiation is successful.

Example