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 Parameter | Default type |
|---|---|
| |
|
|
|
|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| 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