> 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/internal/callgraph/callgraph.with_names.md).

# CallGraph.with\_names()

Returns the list of call nodes whose corresponding function has the specified name.

`with_names(`*`names: List[str],sensitivity: bool = True`*`) →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`CallNode`](/glider-ide/api/internal/callnode.md)`]`&#x20;

## Query Example

```python
from glider import *


def query():
    # Fetch the first contract
    contracts = Contracts().exec(1)
  
    # Get call nodes of functions ending with "Sender" 
    call_nodes = contracts[0].call_graph().with_names(["_msgSender", "_msgData"])
    for node in call_nodes:
        print(node.callable_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%2FvWseCDekWLScAJWFijep%2FScreenshot%202025-09-10%20at%205.51.30%E2%80%AFPM.png?alt=media&amp;token=f0281812-b735-41e9-95e9-3d3f7e165bc6" alt=""><figcaption></figcaption></figure>
