> 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/instructions/instructions.functions_recursive.md).

# Instructions.functions\_recursive()

Returns Functions object for the functions where the instructions can be executed in.

`functions_recursive() →` [`Functions`](/glider-ide/api/functions.md)

Consider the following Solidity code:

```solidity
function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
}
```

For the following instruction:

```solidity
_isExcludedFromFee[account] = false;
```

The `includeInFee` function can call the instruction above. &#x20;

With `functions_recursive()`, one can retrieve the functions that are called recursively through the entire call chain.

## Query Example

```python
from glider import *

def query():
    # Fetch a function
    functions = (
        Functions()
        .with_name("includeInFee")
        .exec(1)
    )

    print(
        functions
        .instructions()
        .functions_recursive()
        .exec()
        .name
    )

    return functions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F3ToXtN5l7ckBqoG9PRMC%2FScreenshot%202025-09-18%20at%209.49.57%E2%80%AFAM.png?alt=media&amp;token=dbd662bc-6725-470b-ae4d-9a905219a082" alt=""><figcaption></figcaption></figure>
