/// <inheritdoc /> public async Task <BigInteger> GetBlockHeightAsync() { var blockNumberHandler = new EthBlockNumber(this.web3.Client); HexBigInteger block = await blockNumberHandler.SendRequestAsync().ConfigureAwait(false); return(block.Value); }
public override async Task <HexBigInteger> ExecuteAsync(IClient client) { var ethBlockNumber = new EthBlockNumber(client); return(await ethBlockNumber.SendRequestAsync()); }
public async Task <dynamic> ExecuteTestAsync(RpcClient client) { var ethBlockNumber = new EthBlockNumber(client); return(await ethBlockNumber.SendRequestAsync()); }
public async Task<dynamic> ExecuteTestAsync(RpcClient client) { var ethBlockNumber = new EthBlockNumber(client); return await ethBlockNumber.SendRequestAsync(); }