/// <summary>
 /// Gets the newest gas price estimates.
 /// </summary>
 private void GetUpdatedGasPrices() => GasUtils.EstimateGasPrice().OnSuccess(price => UpdateAllGasObservables(new HexBigInteger(price)));
Esempio n. 2
0
        public async Task EstimateGasPrice()
        {
            BigInteger gasPrice = await GasUtils.EstimateGasPrice(GasUtils.GasPriceTarget.Standard);

            Assert.IsTrue(gasPrice > 0);
        }