---
description: Returns the name of the event.
---

# Event.name

_`property`_` ``name:`` `_`str`_

## Example

```python
from glider import *


def query():
  # Find contracts with the suffix "ERC20"
  contracts = Contracts().with_name_suffix("ERC20").exec(100)

  for c in contracts:
    for event in c.events().exec():
      # For each contract's event, print the event name
      print(event.name)

  return []
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F9moIN0RXEkr0SN9w6r0t%2FScreenshot%202025-08-14%20at%201.45.08%E2%80%AFPM.png?alt=media&#x26;token=dff36601-7278-4f1a-962b-52d22471eb10" alt=""><figcaption></figcaption></figure>
