Struct ethers_middleware::gas_oracle::GasNow [−][src]
pub struct GasNow { /* fields omitted */ }Expand description
A client over HTTP for the GasNow gas tracker API
that implements the GasOracle trait
Implementations
Sets the gas price category to be used when fetching the gas price.
Trait Implementations
Makes an asynchronous HTTP query to the underlying GasOracle Read more
fn estimate_eip1559_fees<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(U256, U256), GasOracleError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for GasNow
impl !UnwindSafe for GasNow
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self