Contracts.with_event_suffix()

Adds a filter to get contracts that have an event whose name has the given suffix.

with_event_suffix(suffix: str, sensitivity: bool = True) -> Contracts

Query Example

from glider import *

def query():
  contracts = Contracts().with_event_suffix('validated').exec(1)
  events = contracts[0].events()
  for event in events:
    print(event.signature)

  return contracts

Output Example

Last updated