StructField.type
Returns the type of the struct field.
Query Example
from glider import *
def query():
contracts = Contracts().with_name("DefaultReserveInterestRateStrategy").exec(1)
for contract in contracts:
for struct in contract.structs().exec():
for struct_field in struct.fields:
print(struct_field.type)
return contractsExample Output

Last updated