Function weight_to_fee

Source
pub fn weight_to_fee(gas: Gas) -> U256
Expand description

Returns the price for the specified amount of gas.

ยงErrors

If the returned value cannot be properly decoded.