Skip to main content
Returns the amount of gas available in the GasBuiltin, as well as the amount of gas unused in the local wallet. Useful for asserting that a certain amount of gas was used. Note: This function call costs exactly 2300 gas, so this may be ignored in calculations.

Examples