Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
        }
Exemplo n.º 4
0
 public Personal(IClient client) : base(client)
 {
     ListAccounts  = new PersonalListAccounts(client);
     NewAccount    = new PersonalNewAccount(client);
     UnlockAccount = new PersonalUnlockAccount(client);
 }