public EthApiUncleService(IClient client) : base(client) { GetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client); GetUncleByBlockHashAndIndex = new EthGetUncleByBlockHashAndIndex(client); GetUncleByBlockNumberAndIndex = new EthGetUncleByBlockNumberAndIndex(client); }
public EthUncleService(IClient client) : base(client) { GetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client); GetUncleByBlockHashAndIndex = new EthGetUncleByBlockHashAndIndex(client); GetUncleByBlockNumberAndIndex = new EthGetUncleByBlockNumberAndIndex(client); }
public async Task <object> ExecuteTestAsync(IClient client) { var ethGetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); return (await ethGetUncleCountByBlockHash.SendRequestAsync( "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238")); }
public EthUncleService(RpcClient client) : base(client) { GetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); GetUncleCountByBlockNumber = new EthGetUncleCountByBlockNumber(client); }
public async Task<dynamic> ExecuteTestAsync(RpcClient client) { var ethGetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); return await ethGetUncleCountByBlockHash.SendRequestAsync( "0xb903239f8543d04b5dc1ba6579132b143087c68db1b2168786408fcbce568238"); }
public override async Task <HexBigInteger> ExecuteAsync(IClient client) { var ethGetUncleCountByBlockHash = new EthGetUncleCountByBlockHash(client); return(await ethGetUncleCountByBlockHash.SendRequestAsync("0x84e538e6da2340e3d4d90535f334c22974fecd037798d1cf8965c02e8ab3394b")); }