Tooling
Module SDK
Modules
getRemoveSocialRecoveryGuardianAction

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

getRemoveSocialRecoveryGuardianAction

Get the action to remove a social recovery guardian for an account.

Usage

const action = getRemoveSocialRecoveryGuardianAction({
  client,
  account,
  guardian: '0x123...',
})

Parameters

client

  • Type: PublicClient

The rpc client to use for the chain you want to query.

account

The account to remove the social recovery guardian for.

guardian

The address of the guardian to remove.

Returns

action

The action to remove the guardian.