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 for the validators
Returns
Calls to enable multi-factor authentication