BaseCreateConfigProps

1type BaseCreateConfigProps = RpcConnectionConfig &
2 object &
3 Omit<
4 PartialBy<
5 Exclude<AlchemySignerParams["client"], AlchemySignerWebClient>,
6 "iframeConfig"
7 >,
8 "connection"
9 >;

Defined in: account-kit/core/src/types.ts:174

Type Declaration

NameTypeDescription

accountCreationHint?

NonNullable<Parameters<SmartWalletClient["requestAccount"]>[0]>["creationHint"]

connectors?

CreateConnectorFn[]

enablePopupOauth?

boolean

If set, calls preparePopupOauth immediately upon initializing the signer. If you intend to use popup-based OAuth login, you must either set this option to true or manually ensure that you call signer.preparePopupOauth() at some point before the user interaction that triggers the OAuth authentication flow.

sessionConfig?

AlchemySignerParams["sessionConfig"] & object

ssr?

boolean

Enable this parameter if you are using the config in an SSR setting (eg. NextJS) Turing this setting on will disable automatic hydration of the client store

storage?

CreateStorageFn