logo
pub fn weight_to_fee<E>(gas: Gas) -> E::Balancewhere
    E: Environment,
Expand description

Returns the price for the specified amount of gas.

Errors

If the returned value cannot be properly decoded.