createModularAccountAlchemyClient

1function createModularAccountAlchemyClient<TSigner>(
2 params,
3): Promise<
4 AlchemySmartAccountClient<
5 undefined | Chain,
6 MultiOwnerModularAccount<TSigner>,
7 ExecutionActions<
8 MultiOwnerModularAccount<TSigner>,
9 undefined,
10 keyof EntryPointRegistryBase<unknown>
11 > &
12 ManagementActions<
13 MultiOwnerModularAccount<TSigner>,
14 undefined,
15 keyof EntryPointRegistryBase<unknown>
16 > &
17 ReadAndEncodeActions<MultiOwnerModularAccount<TSigner>> &
18 object &
19 object &
20 PluginManagerActions<MultiOwnerModularAccount<TSigner>> &
21 AccountLoupeActions<MultiOwnerModularAccount<TSigner>>
22 >
23>;

Defined in: account-kit/smart-contracts/src/msca/client/alchemyClient.ts:28

Type Parameters

Type ParameterDefault type

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

Parameters

ParameterType

params

AlchemyModularAccountClientConfig<TSigner>

Returns

Promise<AlchemySmartAccountClient<undefined | Chain, MultiOwnerModularAccount<TSigner>, ExecutionActions<MultiOwnerModularAccount<TSigner>, undefined, keyof EntryPointRegistryBase<unknown>> & ManagementActions<MultiOwnerModularAccount<TSigner>, undefined, keyof EntryPointRegistryBase<unknown>> & ReadAndEncodeActions<MultiOwnerModularAccount<TSigner>> & object & object & PluginManagerActions<MultiOwnerModularAccount<TSigner>> & AccountLoupeActions<MultiOwnerModularAccount<TSigner>>>>

A promise that resolves to an AlchemySmartAccountClient configured with the desired plugins and actions