Skip to content
Alchemy Logo

multiOwnerPluginActions

const multiOwnerPluginActions: <TTransport, TChain, TAccount>(
  client,
) => MultiOwnerPluginActions<TAccount>;

Defined in: account-kit/smart-contracts/src/msca/plugins/multi-owner/extension.ts:51

Creates actions for the MultiOwner plugin, including reading owners and checking ownership. NOTE: this is already added to the client returned from createMultiOwnerModularAccountClient

import { multiOwnerPluginActions } from "@account-kit/smart-contracts";
import { createSmartAccountClient } from "@aa-sdk/core";
 
const client = createSmartAccountClient(...).extend(multiOwnerPluginActions);

Type ParameterDefault type

TTransport extends Transport

Transport

TChain extends Chain | undefined

Chain | undefined

TAccount extends SmartContractAccount | undefined

SmartContractAccount | undefined

ParameterTypeDescription

client

Client<TTransport, TChain, TAccount>

the client instance containing the transport, chain, and account information

MultiOwnerPluginActions<TAccount>

an object containing the actions for the MultiOwner plugin, such as readOwners and isOwnerOf

Was this page helpful?