createLightAccount

1function createLightAccount<TTransport, TSigner, TLightAccountVersion>(
2 config,
3): Promise<LightAccount<TSigner, TLightAccountVersion>>;

Defined in: account-kit/smart-contracts/dist/types/src/light-account/accounts/account.d.ts:17

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

TLightAccountVersion extends "v1.0.1" | "v1.0.2" | "v1.1.0" | "v2.0.0"

"v2.0.0"

Parameters

ParameterType

config

CreateLightAccountParams<TTransport, TSigner, TLightAccountVersion>

Returns

Promise<LightAccount<TSigner, TLightAccountVersion>>