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