Function gas_left

Source
pub fn gas_left() -> u64
Expand description

Returns the amount of gas left. This is the ref_time left.

See https://use.ink/docs/v6/basics/gas/#what-is-gas-in-ink for more information.