Call.get_call_gas()

Returns Value representing the gas-parameter used in the external calls.

get_call_gas() -> APIList[Union[Value, NoneObject]]

Query Example

from glider import *

def query():
    instructions = (
        Instructions()
        .low_level_function_calls()
        .exec(1, 137)
    )

    for ins in instructions:
        print(ins.get_value().get_callee_values().get_call_gas())
        print(ins.get_value().get_callee_values().get_call_gas().expression)

    return instructions

Output

Last updated