Adds a filter to get contracts that have a struct with the given field name.
Last updated 1 month ago
with_struct_field_name(name: str, sensitivity: bool = True) → Contracts
with_struct_field_name(name: str, sensitivity: bool = True) →
Contracts
from glider import * def query(): contracts = Contracts().with_struct_field_name('balance', sensitivity=False).exec(1) structs = contracts[0].structs().exec() for struct in structs: for struct_field in struct.fields: print(struct_field.name) return contracts