installModule
Get the action to install a module on an account.
Usage
const action = await installModule({
client,
account,
module,
});
Parameters
client
- Type:
PublicClient
The rpc client to use for the chain you want to install the module on.
account
- Type:
Account
The account object.
module
- Type:
Module
The module object.
Returns
action
- Type:
Promise<Action[]>
The action to install the module on the account.