createAccount
Creates an account of a specified type using the provided parameters and configuration. Supports creating LightAccount and MultiOwnerModularAccount types.
Import
Usage
Parameters
params
CreateAccountParams<TAccount>
The parameters required to create the account, including the type and account parameters
config
AlchemyAccountsConfig
The configuration object for Alchemy accounts
Returns
Promise<SupportedAccounts>
A promise that resolves to the created account object