Skip to main content
Returns the amount of gas available in the GasBuiltin. Useful for asserting that a certain amount of gas was consumed. Note: The actual gas consumption observed by calls to get_available_gas is only exact immediately before calls to withdraw_gas.

Examples