# pluginManagerActions | @account-kit/smart-contracts

> Overview of the pluginManagerActions function from @account-kit/smart-contracts

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function pluginManagerActions<TTransport, TChain, TAccount>(
  client,
): PluginManagerActions<TAccount>;
```

Defined in: [account-kit/smart-contracts/src/msca/plugin-manager/decorator.ts:46](https://github.com/alchemyplatform/aa-sdk/blob/main/account-kit/smart-contracts/src/msca/plugin-manager/decorator.ts#L46)

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

## Example

```ts
import { pluginManagerActions } from "@account-kit/smart-contracts";
import { createSmartAccountClient } from "@aa-sdk/core";

const client = createSmartAccountClient(...).extend(pluginManagerActions);
```

## Type Parameters

<table>
  <thead>
    <tr>
      <th align="left">Type Parameter</th>
      <th align="left">Default type</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `TTransport` *extends* [`Transport`](https://viem.sh)
      </td>

      <td>
        [`Transport`](https://viem.sh)
      </td>
    </tr>

    <tr>
      <td>
        `TChain` *extends* `undefined` | [`Chain`](https://viem.sh)
      </td>

      <td>
        `undefined` | [`Chain`](https://viem.sh)
      </td>
    </tr>

    <tr>
      <td>
        `TAccount` *extends* `undefined` | `SmartContractAccount`
      </td>

      <td>
        `undefined` | `SmartContractAccount`
      </td>
    </tr>

  </tbody>
</table>

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `client`
      </td>

      <td>
        [`Client`](https://viem.sh)\<`TTransport`, `TChain`, `TAccount`>
      </td>

      <td>
        The client instance on which to manage plugins
      </td>
    </tr>

  </tbody>
</table>

## Returns

[`PluginManagerActions`](../type-aliases/PluginManagerActions)\<`TAccount`>

An object containing functions to install and uninstall plugins