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
- Type:
Account
The account object.
module
- Type:
Module
The module object.
Returns
action
- Type:
Promise<Action[]>
The action to uninstall the module from the account.