Skip to content

multiOwnerLightAccountClientActions

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

Import

import { multiOwnerLightAccountClientActions } from "@account-kit/smart-contracts";

Usage

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);

Parameters

client

Client<TTransport, TChain, TAccount> the client for interacting with the multi-owner light account

Returns

MultiOwnerLightAccountClientActions<TSigner, TAccount> an object containing the client actions specifically for a multi-owner light account