The client instance.
Parameters including the smart account, modules to install, and optional gas settings.
The hash of the user operation as a hexadecimal string.
If the account is not found.
import { installModules } from '@biconomy/abstractjs'
const userOpHash = await installModules(nexusClient, {
modules: [
{ type: 'executor', address: '0x...', context: '0x' },
{ type: 'validator', address: '0x...', context: '0x' }
]
})
console.log(userOpHash) // '0x...'
Installs multiple modules on a given smart account.