Ejemplo n.º 1
0
 public NetworkApiService(IClient client) : base(client)
 {
     ChainStatus         = new ParityChainStatus(client);
     GasPriceHistogram   = new ParityGasPriceHistogram(client);
     NetPeers            = new ParityNetPeers(client);
     NetPort             = new ParityNetPort(client);
     PendingTransactions = new ParityPendingTransactions(client);
 }
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var parityChainStatus = new ParityChainStatus(client);

            return(await parityChainStatus.SendRequestAsync());
        }