const alchemyActions: <TTransport, TChain, TAccount, TContext>(
client,
) => AlchemySmartAccountClientActions<TAccount, TContext, TChain>;Defined in: account-kit/infra/src/client/decorators/smartAccount.ts:72
Provides a set of actions for interacting with the Alchemy Smart Account client, including the ability to simulate user operations.
import { alchemyActions } from "@account-kit/infra";
import { createPublicClient } from "viem";
const client = createPublicClient(...);
const clientWithAlchemyActions = client.extend(alchemyActions);| Type Parameter | Default type |
|---|---|
| |
|
|
|
|
|
|
| Parameter | Type |
|---|---|
|
|
AlchemySmartAccountClientActions<TAccount, TContext, TChain>
An object containing Alchemy Smart Account client actions