Tooling
Module SDK
Modules
getSetSocialRecoveryThresholdAction

⚠️ 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)

getSetSocialRecoveryThresholdAction

Get the action to set the social recovery threshold for an account.

Usage

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

Parameters

threshold

  • Type: number

The new threshold for the social recovery account.

Returns

action

The action to set the social recovery threshold.