multiOwnerLightAccountClientActions

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

Import

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

Usage

1import { multiOwnerLightAccountClientActions, createMultiOwnerLightAccount } from "@account-kit/smart-contracts";
2import { createAlchemySmartAccountClient } from "@account-kit/infra";
3import { sepolia } from "@account-kit/infra";
4
5const smartAccountClient = createAlchemySmartAccountClient({
6account: await createMultiOwnerLightAccount(...),
7apiKey: "your-api-key",
8chain: sepolia,
9}).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