Function.is_payable()

Returns true if the function is payable, otherwise returns false.

is_payable() → bool

Example

from glider import *

def query():
    payable_functions = (
      Functions()
      .exec(1000)
      .filter(lambda x: x.is_payable())
    )

    return payable_functions

Output

Last updated