) { //code }); newAccount(options) Method create a new account in Nebulas network with provided passphrase. Parameters: Name Type Description options Object Properties Name Type Description passphrase Password See: https://github.com/nebulasio/wiki/blob/master/rpc_admin.md#newaccount Returns: address Example var admin = new Neb().admin; admin.newAccount({passphrase: \"passphrase\"}).then(function(address) { //code }); unlockAccount(options) Method unlock account with provided passphrase. After the default u