> 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/callables/callables.with_signature.md).

# Callables.with\_signature()

`with_signature(`*`signature: str`*`) →` [`Callables`](/glider-ide/api/callables.md)

Adds a filter to get callables that have the given signature. Returns a filtered [Callables](/glider-ide/api/callables.md) child object. This method can be called on all [Callables](/glider-ide/api/callables.md) child classes: [Functions](/glider-ide/api/functions.md) and [Modifiers](/glider-ide/api/modifiers.md).

To filter given a list of signatures, refer to [Callables.with\_signatures()](/glider-ide/api/callables/callables.with_signatures.md).

### Functions Example

```python
from glider import *

def query():
  # Retrieve all functions with the signature `transferFrom(address,address,uint256)`
  functions = Functions().with_signature("transferFrom(address,address,uint256)").exec(100)

  # Return the first five functions
  return functions[:5]
```

Output:

<figure><img src="/files/a1QVv1Xp3jYeyVAhIYHm" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve all the modifiers with the signature `nonReentrant()`
  modifiers = Modifiers().with_signature("nonReentrant()").exec(100)

  # Return the first five modifiers
  return modifiers[:5]
```

Output:

<figure><img src="/files/qnw1RC8izwhIgPbsi0KQ" alt=""><figcaption></figcaption></figure>
