isModuleEnabled
Checks if a given Safe Module is enabled in the connected Safe.
Usage
_10import { protocolKit } from './setup.ts'_10_10const moduleAddress = '0x...'_10_10const isEnabled = await protocolKit.isModuleEnabled(moduleAddress)
Parameters
moduleAddress
- Type:
string
The Safe Module address to check.
_10const isEnabled = await protocolKit.isModuleEnabled(_10 '0x...'_10)
Returns
Promise<boolean>
The boolean value that indicates if the module is enabled in the connected Safe.