createModularAccountV2

Call Signature

1function createModularAccountV2<TTransport, TSigner>(
2 config,
3): Promise<ModularAccountV2<TSigner>>;

Defined in: account-kit/smart-contracts/dist/types/src/ma-v2/account/modularAccountV2.d.ts:31

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

Parameters

ParameterType

config

CreateModularAccountV2Params<TTransport, TSigner>

Returns

Promise<ModularAccountV2<TSigner>>

Call Signature

1function createModularAccountV2<TTransport>(
2 config,
3): Promise<WebauthnModularAccountV2>;

Defined in: account-kit/smart-contracts/dist/types/src/ma-v2/account/modularAccountV2.d.ts:32

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

Parameters

ParameterType

config

CreateWebauthnModularAccountV2Params<TTransport>

Returns

Promise<WebauthnModularAccountV2>