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 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))); }
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))); }