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.
pub fn weight_to_fee<E>(gas: Gas) -> E::Balancewhere
E: Environment,
Returns the price for the specified amount of gas.
If the returned value cannot be properly decoded.