AccountConfig
1 type AccountConfig<TAccount> = TAccount extends "LightAccount" 2 ? OmitSignerTransportChain< 3 CreateLightAccountParams< 4 Transport, 5 AlchemySigner, 6 LightAccountVersion<"LightAccount"> 7 > 8 > 9 : TAccount extends "MultiOwnerLightAccount" 10 ? OmitSignerTransportChain< 11 CreateMultiOwnerLightAccountParams< 12 Transport, 13 AlchemySigner, 14 LightAccountVersion<"MultiOwnerLightAccount"> 15 > 16 > 17 : TAccount extends "MultiOwnerModularAccount" 18 ? OmitSignerTransportChain< 19 CreateMultiOwnerModularAccountParams<Transport, AlchemySigner> 20 > 21 : TAccount extends "ModularAccountV2" 22 ? OmitSignerTransportChain< 23 CreateModularAccountV2Params<Transport, AlchemySigner> 24 > 25 : never;
Defined in: account-kit/core/src/actions/createAccount.ts:28
Type Parameters
| Type Parameter |
|---|
|