Tooling
Module SDK
Modules
getSetMFAThresholdAction

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

getSetMFAThresholdAction

Get the action to set the MFA threshold.

Usage

const action = getSetMFAThresholdAction({
  threshold: 2,
})

Parameters

threshold

  • Type: number

The new threshold for the MFA.

Returns

action

The action to set the MFA threshold.