|
|
|
@ -62,7 +62,7 @@ final class GasPriceEstimator { |
|
|
|
|
return firstly { |
|
|
|
|
EtherscanGasPriceEstimator().fetch(server: server) |
|
|
|
|
}.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 |
|
|
|
|
GasEstimates(standard: BigInt(estimates.standard), others: [ |
|
|
|
|
TransactionConfigurationType.slow: BigInt(estimates.slow), |
|
|
|
|