function pluginManagerActions<TTransport, TChain, TAccount>(
client,
): PluginManagerActions<TAccount>;Defined in: account-kit/smart-contracts/src/msca/plugin-manager/decorator.ts:46
Provides actions for managing plugins on a given client, including installing and uninstalling plugins. NOTE: this is provided by default when using a modular account client
import { pluginManagerActions } from "@account-kit/smart-contracts";
import { createSmartAccountClient } from "@aa-sdk/core";
const client = createSmartAccountClient(...).extend(pluginManagerActions);| Type Parameter | Default type |
|---|---|
| |
|
|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| The client instance on which to manage plugins |
PluginManagerActions<TAccount>
An object containing functions to install and uninstall plugins