Skip to content
Alchemy Logo

multiOwnerLightAccountClientActions

const multiOwnerLightAccountClientActions: <
  TTransport,
  TChain,
  TSigner,
  TAccount,
>(
  client,
) => MultiOwnerLightAccountClientActions<TSigner, TAccount>;

Defined in: account-kit/smart-contracts/src/light-account/decorators/multiOwnerLightAccount.ts:39

Generates client actions for a multi-owner light account, including the ability to update owners.

import { multiOwnerLightAccountClientActions, createMultiOwnerLightAccount } from "@account-kit/smart-contracts";
import { createAlchemySmartAccountClient } from "@account-kit/infra";
import { sepolia } from "@account-kit/infra";
 
const smartAccountClient = createAlchemySmartAccountClient({
 account: await createMultiOwnerLightAccount(...),
 apiKey: "your-api-key",
 chain: sepolia,
}).extend(multiOwnerLightAccountClientActions);

Type ParameterDefault type

TTransport extends Transport

Transport

TChain extends Chain | undefined

Chain | undefined

TSigner extends SmartAccountSigner

SmartAccountSigner

TAccount extends MultiOwnerLightAccount<TSigner> | undefined

MultiOwnerLightAccount<TSigner> | undefined

ParameterTypeDescription

client

Client<TTransport, TChain, TAccount>

the client for interacting with the multi-owner light account

MultiOwnerLightAccountClientActions<TSigner, TAccount>

an object containing the client actions specifically for a multi-owner light account

Was this page helpful?