Function ink_env::weight_to_fee

source ·
pub fn weight_to_fee<E>(gas: Gas) -> E::Balance
where E: Environment,
Expand description

Returns the price for the specified amount of gas.

§Errors

If the returned value cannot be properly decoded.