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

# Contract.name

Returns the name of a Contract.

*`property`*` ``name`*`: str`*

## Example query

```python
from glider import *

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

  for contract in contracts:
    print(contract.name)

  return contracts
```

## Example output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FuCkUydN1pQ9NOcKJ0iiS%2Fimage.png?alt=media&amp;token=27ec3a82-8b97-4d42-824b-90aa0dcaf4ff" alt=""><figcaption></figcaption></figure>
