Esempio n. 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);
 }
Esempio n. 2
0
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var parityVersionInfo = new ParityVersionInfo(client);

            return(await parityVersionInfo.SendRequestAsync());
        }