isModuleInstalled
Check if a module is installed in the account. Note that this currently only works for deployed accounts.
Usage
const _isModuleInstalled = await isModuleInstalled({
client,
account,
module,
})
Parameters
client
- Type:
PublicClient
The rpc client to use for the chain you want to check the module on.
account
- Type:
Account
The account object.
module
- Type:
Module
The module object.
Returns
isModuleInstalled
- Type:
Promise<boolean>
Whether the module is installed on the account.