Exemple #1
0
 public NeoApiNodeService(IClient client) : base(client)
 {
     GetConnectionCount = new NeoGetConnectionCount(client);
     GetRawMemPool      = new NeoGetRawMemPool(client);
     GetValidators      = new NeoGetValidators(client);
     GetVersion         = new NeoGetVersion(client);
 }
Exemple #2
0
        public override async Task <Version> ExecuteAsync(IClient client)
        {
            var version = new NeoGetVersion(client);

            return(await version.SendRequestAsync());
        }