createMultiOwnerLightAccount

1function createMultiOwnerLightAccount<
2 TTransport,
3 TSigner,
4 TLightAccountVersion,
5>(config): Promise<MultiOwnerLightAccount<TSigner, TLightAccountVersion>>;

Defined in: account-kit/smart-contracts/src/light-account/accounts/multiOwner.ts:83

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

TLightAccountVersion extends "v2.0.0"

"v2.0.0"

Parameters

ParameterTypeDescription

config

CreateMultiOwnerLightAccountParams<TTransport, TSigner, TLightAccountVersion>

The parameters for creating a multi-owner light account

Returns

Promise<MultiOwnerLightAccount<TSigner, TLightAccountVersion>>

A promise that resolves to a MultiOwnerLightAccount object containing the created account information and methods