Esempio n. 1
0
 public NeoApiNodeService(IClient client) : base(client)
 {
     GetConnectionCount = new NeoGetConnectionCount(client);
     GetRawMemPool      = new NeoGetRawMemPool(client);
     GetValidators      = new NeoGetValidators(client);
     GetVersion         = new NeoGetVersion(client);
 }
        public override async Task <int> ExecuteAsync(IClient client)
        {
            var connectionCount = new NeoGetConnectionCount(client);

            return(await connectionCount.SendRequestAsync());
        }
 public NeoApiNodeService(IClient client) : base(client)
 {
     GetConnectionCount = new NeoGetConnectionCount(client);
     GetRawMemPool      = new NeoGetRawMemPool(client);
 }