Protocol Kit Reference
Safe Modules
isModuleEnabled

isModuleEnabled

Checks if a given Safe Module is enabled in the connected Safe.

Usage


_10
import { protocolKit } from './setup.ts'
_10
_10
const moduleAddress = '0x...'
_10
_10
const isEnabled = await protocolKit.isModuleEnabled(moduleAddress)

Parameters

moduleAddress

  • Type: string

The Safe Module address to check.


_10
const isEnabled = await protocolKit.isModuleEnabled(
_10
'0x...'
_10
)

Returns

Promise<boolean>

The boolean value that indicates if the module is enabled in the connected Safe.

Was this page helpful?