Function ink_env::weight_to_fee [−][src]
pub fn weight_to_fee<T>(gas: u64) -> Result<T::Balance> where
T: Environment,
Returns the price for the specified amount of gas.
Errors
If the returned value cannot be properly decoded.