> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/contract/contract.structs.md).

# Contract.structs()

`structs() →` [`Structs`](/glider-ide/api/structs.md)

## Example query

```python
from glider import *

def query():
  contracts = Contracts().exec(1, 20)

  for contract in contracts:
    structs = contract.structs().exec()
    for struct in structs:
      print(struct.name)

  return contracts
```

## Example output

<figure><img src="/files/PmiuoDsTQ4TewrL0z532" alt=""><figcaption></figcaption></figure>
