|
|
@ -62,7 +62,7 @@ final class GasPriceEstimator { |
|
|
|
return firstly { |
|
|
|
return firstly { |
|
|
|
EtherscanGasPriceEstimator().fetch(server: server) |
|
|
|
EtherscanGasPriceEstimator().fetch(server: server) |
|
|
|
}.get { estimates in |
|
|
|
}.get { estimates in |
|
|
|
infoLog("Estimated gas price with gas price estimator API: \(estimates)") |
|
|
|
infoLog("Estimated gas price with gas price estimator API server: \(server) estimate: \(estimates)") |
|
|
|
}.map { estimates in |
|
|
|
}.map { estimates in |
|
|
|
GasEstimates(standard: BigInt(estimates.standard), others: [ |
|
|
|
GasEstimates(standard: BigInt(estimates.standard), others: [ |
|
|
|
TransactionConfigurationType.slow: BigInt(estimates.slow), |
|
|
|
TransactionConfigurationType.slow: BigInt(estimates.slow), |
|
|
|