createLightAccountAlchemyClient

1function createLightAccountAlchemyClient<TSigner>(
2 params,
3): Promise<
4 AlchemySmartAccountClient<
5 undefined | Chain,
6 LightAccount<TSigner>,
7 LightAccountClientActions<TSigner>
8 >
9>;

Defined in: account-kit/smart-contracts/src/light-account/clients/alchemyClient.ts:22

Type Parameters

Type ParameterDefault type

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

Parameters

ParameterType

params

AlchemyLightAccountClientConfig<TSigner>

Returns

Promise<AlchemySmartAccountClient<undefined | Chain, LightAccount<TSigner>, LightAccountClientActions<TSigner>>>

A promise that resolves to an AlchemySmartAccountClient object containing the created client