accountLoupeActions
Provides a set of actions for account loupe operations using the specified client. NOTE: this is already added to the client when using any of the Modular Account Clients.
Import
import { accountLoupeActions } from "@account-kit/smart-contracts";
Usage
import { accountLoupeActions } from "@account-kit/smart-contracts";
import { createSmartAccountClient } from "@aa-sdk/core";
const client = createSmartAccountClient(...).extend(accountLoupeActions);
Parameters
client
Client<TTransport, TChain, TAccount>
the client to be used for executing the account loupe actions
Returns
AccountLoupeActions<TAccount>
an object containing account loupe actions like getExecutionFunctionConfig
, getExecutionHooks
, getPreValidationHooks
, and getInstalledPlugins