Beispiel #1
0
 public AdminApiService(IClient client) : base(client)
 {
     ConsensusCapability      = new ParityConsensusCapability(client);
     ListOpenedVaults         = new ParityListOpenedVaults(client);
     ListVaults               = new ParityListVaults(client);
     LocalTransactions        = new ParityLocalTransactions(client);
     PendingTransactionsStats = new ParityPendingTransactionsStats(client);
     ReleasesInfo             = new ParityReleasesInfo(client);
     VersionInfo              = new ParityVersionInfo(client);
 }
        public override async Task <string[]> ExecuteAsync(IClient client)
        {
            var parityListVaults = new ParityListVaults(client);

            return(await parityListVaults.SendRequestAsync());
        }