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 <List <Validator> > ExecuteAsync(IClient client) { var validators = new NeoGetValidators(client); return(await validators.SendRequestAsync()); }