> 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/value/call/call.get_contract_name.md).

# Call.get\_contract\_name()

Returns the name of the contract in which the called function is

`get_contract_name() -> str`

## Query Example

```python
from glider import *

def query():
    instructions = (
        Instructions()
        .exec(1,98)
        .filter(lambda x: x.is_call())
    )

    for ins in instructions:
        print(ins.get_value().get_contract_name())

    return instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FSwv0VwPQO1Eqwv88pD3b%2Fimage.png?alt=media&amp;token=9b669fb0-67cb-4380-a710-d799ec61a223" alt=""><figcaption></figcaption></figure>
