public Personal(IClient client) : base(client) { ListAccounts = new PersonalListAccounts(client); NewAccount = new PersonalNewAccount(client); UnlockAccount = new PersonalUnlockAccount(client); LockAccount = new PersonalLockAccount(client); SignAndSendTransaction = new PersonalSignAndSendTransaction(client); }
public override async Task <string[]> ExecuteAsync(IClient client) { var personalListAccounts = new PersonalListAccounts(client); var accounts = personalListAccounts.SendRequestAsync().Result; return(accounts); }
public Personal(IClient client) : base(client) { ListAccounts = new PersonalListAccounts(client); NewAccount = new PersonalNewAccount(client); UnlockAccount = new PersonalUnlockAccount(client); }