Пример #1
0
 public AccountsApiService(IClient client) : base(client)
 {
     AccountsInfo         = new ParityAccountsInfo(client);
     DefaultAccount       = new ParityDefaultAccount(client);
     GenerateSecretPhrase = new ParityGenerateSecretPhrase(client);
     HardwareAccountsInfo = new ParityHardwareAccountsInfo(client);
 }
Пример #2
0
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var parityAccountsInfo = new ParityAccountsInfo(client);

            return(await parityAccountsInfo.SendRequestAsync());
        }