⚠️ Deprecation Notice
ModuleKit was developed by Rhinestone and is no longer actively supported. If you're building modules and need assistance, reach out to Rhinestone at gm@rhinestone.dev
title: "uninstallModule"
Uinstalls a module into the account.
Usage
instance.uninstallModule({
moduleTypeId: MODULE_TYPE_VALIDATOR,
module: validator,
data: validatorData
});Parameters
instance
- Type:
AccountInstance
The instance of the account used for testing.
moduleTypeId
- Type:
uint256
The type of the module to uninstall.
module
- Type:
address
The address of the module to uninstall.
data
- Type:
bytes
The data to send with the module uninstallation.
Returns
userOpData
- Type:
UserOpData
The data of the UserOperation.