getSmartAccountClient

1function getSmartAccountClient<TChain, TAccount>(
2 params,
3 config,
4): GetSmartAccountClientResult<TChain, SupportedAccount<TAccount>>;

Defined in: account-kit/core/src/actions/getSmartAccountClient.ts:71

Type Parameters

Type ParameterDefault type

TChain extends undefined | Chain

undefined | Chain

TAccount extends SupportedAccountTypes

SupportedAccountTypes

Parameters

ParameterTypeDescription

params

GetSmartAccountClientParams<TChain, TAccount>

Parameters for getting the smart account client, including account parameters and client parameters

config

AlchemyAccountsConfig

The configuration containing the client store and other necessary information

Returns

GetSmartAccountClientResult<TChain, SupportedAccount<TAccount>>

The result object which includes the client, address, and loading status of the client