> 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/callnode/callnode.callers.md).

# CallNode.callers()

Returns a list of CallNodes whose corresponding functions call the current node's corresponding function.

`callers() →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`CallNode`](/glider-ide/api/internal/callnode.md)`]`

## Query Example

```python
from glider import *


def query():
    data = []
    instructions = Instructions().with_callee_name_prefix('burn').exec(10)

    for instruction in instructions:
        if len(data) > 0:
            break # demo first result only
        functionContainsBurn = instruction.get_parent() #api.functions.Function (*)
        contract = functionContainsBurn.get_contract() #api.contracts.Contract
        call_graph = contract.call_graph() #api.call_graph.CallGraph 
        nodes = call_graph.nodes() #Dict[str, CallNode]
        for id in nodes:
            if(id != functionContainsBurn.db_id):
                continue
        callers = nodes[id].callers() # APIList[CallNode]
        if len(callers) > 0:
            print(functionContainsBurn.source_code())
            for caller in callers:
                print("caller: " + caller.callable_name())
            data.append(instruction)

    return data
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FYNs2Zl9LYO8Y2lc2GBEJ%2FScreenshot%202025-09-10%20at%206.09.37%E2%80%AFPM.png?alt=media&amp;token=fce5554d-4afb-4e14-895e-42da5220b2de" alt=""><figcaption></figcaption></figure>
