Event.arg_list()

Returns arguments' types of the event.

arg_list() → List[str]

Example query

from glider import *


def query():
  # Find contracts with an event called "Transfer"
  contracts = Contracts().with_event_name('Transfer').exec(100)

  for contract in contracts:
    for event in contract.events().exec():
      if event.name == "Transfer":
        # For each "Transfer" event in every single contract, print its arguments
        print(event.arg_list())

  return []

Output Example

Last updated