public IbftApiService(IClient client) : base(client) { DiscardValidatorVote = new IbftDiscardValidatorVote(client); GetValidatorsByBlockHash = new IbftGetValidatorsByBlockHash(client); GetPendingVotes = new IbftGetPendingVotes(client); GetValidatorsByBlockNumber = new IbftGetValidatorsByBlockNumber(client); ProposeValidatorVote = new IbftProposeValidatorVote(client); }
public override async Task <JObject> ExecuteAsync(IClient client) { var ibftGetPendingVotes = new IbftGetPendingVotes(client); return(await ibftGetPendingVotes.SendRequestAsync()); }