Skip to main content

Import

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

Usage

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

Parameters

guardians
Account[]
required
Guardians to use for recovery
threshold
number
required
Threshold for the guardians

Returns

call
LazyCallInput
Calls to set up social recovery