installPlugin
Installs a plugin on a smart account via the client, sending the user operation with the appropriate parameters. NOTE: it’s recommended to just use the installPlugin action returned from generated plugins
Import
Usage
Parameters
client
Client<TTransport, TChain, TAccount>
The client configured to the smart account on which the plugin will be installed
params
InstallPluginParams<TAccount, TContext>
The parameters required to install the plugin, including overrides, context, and account information
Returns
Promise<any>
A promise that resolves once the plugin installation operation is sent