const lightAccountClientActions: <TTransport, TChain, TSigner, TAccount>(
client,
) => LightAccountClientActions<TSigner, TAccount>;Defined in: account-kit/smart-contracts/src/light-account/decorators/lightAccount.ts:39
Provides a set of actions for managing a light account client, including transferring ownership.
import { lightAccountClientActions, createLightAccount } from "@account-kit/smart-contracts";
import { createAlchemySmartAccountClient } from "@account-kit/infra";
import { sepolia } from "@account-kit/infra";
const smartAccountClient = createAlchemySmartAccountClient({
account: await createLightAccount(...),
apiKey: "your-api-key",
chain: sepolia,
}).extend(lightAccountClientActions);| Type Parameter | Default type |
|---|---|
| |
|
|
|
|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| The client instance for which to provide the light account actions |
LightAccountClientActions<TSigner, TAccount>
An object containing the available light account client actions