createModularAccountV2Client

Call Signature

1function createModularAccountV2Client<TChain, TSigner>(
2 args,
3): Promise<AlchemySmartAccountClient<TChain, ModularAccountV2<TSigner>>>;

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

Type Parameters

Type ParameterDefault type

TChain extends Chain

Chain

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

Parameters

Returns

Promise<AlchemySmartAccountClient<TChain, ModularAccountV2<TSigner>>>

Call Signature

1function createModularAccountV2Client<TTransport, TChain, TSigner>(
2 args,
3): Promise<ModularAccountV2Client<TSigner, TChain, TTransport>>;

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

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TChain extends Chain

Chain

TSigner extends SmartAccountSigner<any>

SmartAccountSigner<any>

Parameters

ParameterType

args

CreateModularAccountV2ClientParams<TTransport, TChain, TSigner>

Returns

Promise<ModularAccountV2Client<TSigner, TChain, TTransport>>

Call Signature

1function createModularAccountV2Client<TTransport, TChain>(
2 args,
3): Promise<WebauthnModularAccountV2Client<TChain, TTransport>>;

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

Type Parameters

Type ParameterDefault type

TTransport extends Transport

Transport

TChain extends Chain

Chain

Parameters

ParameterType

args

CreateWebauthnModularAccountV2ClientParams<TTransport, TChain>

Returns

Promise<WebauthnModularAccountV2Client<TChain, TTransport>>