> 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/contracts/contracts.exec.md).

# Contracts.exec()

`exec(`*`limit_count: int = 0, offset_count: int = 0`*`) ->` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Contract`](/glider-ide/api/contract.md)`]`

## Example Query 1

```python
from glider import *

def query():
  contracts = Contracts().exec(3)

  return contracts
```

## Output Example 1

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

## Example Query 2

```python
from glider import *

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

  return contracts
```

## Output Query 2

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