Skip to content
Alchemy Logo

pluginManagerActions

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 ParameterDefault type

TTransport extends Transport

Transport

TChain extends undefined | Chain

undefined | Chain

TAccount extends undefined | SmartContractAccount

undefined | SmartContractAccount

ParameterTypeDescription

client

Client<TTransport, TChain, TAccount>

The client instance on which to manage plugins

PluginManagerActions<TAccount>

An object containing functions to install and uninstall plugins

Was this page helpful?