function useSmartAccountClient<TChain, TAccount>(
args,
): UseSmartAccountClientResult<
TChain,
SupportedAccount<TAccount extends undefined ? "ModularAccountV2" : TAccount>
>;Defined in: account-kit/react/src/hooks/useSmartAccountClient.ts:37
| Type Parameter | Default type |
|---|---|
|
|
|
|
| Parameter | Type |
|---|---|
|
|
UseSmartAccountClientResult<TChain, SupportedAccount<TAccount extends undefined ? "ModularAccountV2" : TAccount>>
An object containing the smart account client, the address, and a loading state. ref