Tooling
Module SDK
Accounts API
uninstallModule

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

uninstallModule

Get the action to uninstall a module from an account.

Usage

const action = await uninstallModule({
  client,
  account,
  module,
})

Parameters

client

  • Type: PublicClient

The rpc client to use for the chain you want to uninstall the module from.

account

The account object.

module

The module object.

Returns

action

The action to uninstall the module from the account.