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