Skip to main content

Import

import { enable } from '@rhinestone/sdk/actions/mfa'

Usage

const transaction = await account.prepareTransaction({
  chain,
  calls: [enable(validators, threshold)],
})

Parameters

validators
OwnableValidatorConfig | WebauthnValidatorConfig | null[]
required
List of validators to use
threshold
number
required
Threshold for the validators

Returns

call
LazyCallInput
Calls to enable multi-factor authentication