Ejemplo n.º 1
0
 public CliqueApiService(IClient client) : base(client)
 {
     Discard          = new CliqueDiscard(client);
     GetSigners       = new CliqueGetSigners(client);
     GetSignersAtHash = new CliqueGetSignersAtHash(client);
     Proposals        = new CliqueProposals(client);
     Propose          = new CliquePropose(client);
 }
Ejemplo n.º 2
0
        public override async Task <string[]> ExecuteAsync(IClient client)
        {
            var cliqueGetSigners = new CliqueGetSigners(client);

            return(await cliqueGetSigners.SendRequestAsync(BlockParameter.CreateLatest()));
        }