> 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.events.md).

# Contract.events()

`events() →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Event`](/glider-ide/api/event.md)`]`

## Example query

```python
from glider import *


def query():
  contracts = Contracts().with_name("IERC721").exec(1)

  for contract in contracts:
    events = contract.events().exec()
    for event in events:
      print(event.signature)

  return contracts
```

## &#x20;Output Example

<figure><img src="/files/1bMb5UNxLe8Ti2FNOJEV" alt=""><figcaption></figcaption></figure>
