Example #1
0
 public EthApiUncleService(IClient client) : base(client)
 {
     GetUncleCountByBlockHash      = new EthGetUncleCountByBlockHash(client);
     GetUncleCountByBlockNumber    = new EthGetUncleCountByBlockNumber(client);
     GetUncleByBlockHashAndIndex   = new EthGetUncleByBlockHashAndIndex(client);
     GetUncleByBlockNumberAndIndex = new EthGetUncleByBlockNumberAndIndex(client);
 }
Example #2
0
 public EthUncleService(IClient client) : base(client)
 {
     GetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client);
     GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);
     GetUncleByBlockHashAndIndex = new EthGetUncleByBlockHashAndIndex(client);
     GetUncleByBlockNumberAndIndex = new EthGetUncleByBlockNumberAndIndex(client);
 }
Example #3
0
 public EthUncleService(RpcClient client) : base(client)
 {
     GetUncleCountByBlockHash   = new EthGetUncleCountByBlockHash(client);
     GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);
 }
        public async Task <object> ExecuteTestAsync(IClient client)
        {
            var ethGetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);

            return(await ethGetUncleCountByBlockNumber.SendRequestAsync(new HexBigInteger(2)));
        }
Example #5
0
 public EthUncleService(RpcClient client) : base(client)
 {
     GetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client);
     GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);
 }
 public async Task<dynamic> ExecuteTestAsync(RpcClient client)
 {
     var ethGetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);
     return await ethGetUncleCountByBlockNumber.SendRequestAsync( new HexBigInteger(2));
 }
        public override async Task <HexBigInteger> ExecuteAsync(IClient client)
        {
            var ethGetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client);

            return(await ethGetUncleCountByBlockNumber.SendRequestAsync(new HexBigInteger(668)));
        }