ModuleKit
Testing
Modules
getInstalledModules

getInstalledModules

Gets a list of all installed modules for an account. Note, this feature is still experimental as some accounts are not correctly reporting module installations.

Usage

InstalledModule[] memory installedModules = instance.getInstalledModules();

Parameters

instance

The instance of the account used for testing.

Returns

installedModules

The list of installed modules.