Skip to content
Alchemy Logo

UseSmartAccountClientProps

type UseSmartAccountClientProps<TChain, TAccount> = OptionalFields<
  GetSmartAccountClientParams<
    TChain,
    TAccount extends undefined ? "ModularAccountV2" : TAccount
  >,
  "type"
>;

Defined in: account-kit/react/src/hooks/useSmartAccountClient.ts:19

Type ParameterDefault type

TChain extends Chain | undefined

Chain | undefined

TAccount extends SupportedAccountTypes | undefined

SupportedAccountTypes | undefined

Was this page helpful?