예제 #1
0
 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);
 }
예제 #2
0
        public override async Task <JObject> ExecuteAsync(IClient client)
        {
            var ibftGetPendingVotes = new IbftGetPendingVotes(client);

            return(await ibftGetPendingVotes.SendRequestAsync());
        }