> 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FzSNiq64ynqvf295DJB5G%2Fimage.png?alt=media&amp;token=a644ff29-8f9d-419b-892d-05306cf8d472" 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FX0tUrW9ZpWCLQElP9EMN%2Fimage.png?alt=media&amp;token=aa8153a5-040a-44a7-89f1-4dbaafb2c504" alt=""><figcaption></figcaption></figure>
