createAccount

Usage: await wallet.createAccount(accountOpts)
Description: This method, equivalent of a new Account(wallet, accountOpts) will create a new account having the specified options.

Parameters:
See the Account constructor parameters.

N.B : You also probably mean to use .getAccount() instead. This is designed mostly to be Private as get an account deal with it.

Returns : void.