> 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/filters/globalfilters/globalfilters.msg_gas.md).

# GlobalFilters.MSG\_GAS

The MSG\_GAS property is used to add a filter to include or exclude functions that calls `msg.gas`.&#x20;

### Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .with_globals(GlobalFilters.MSG_GAS)
    .exec(1)
  )
  
  return functions
```

### Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FpcGRhLMfyT9Mas3u75xn%2FScreenshot%202025-08-28%20at%2012.42.10%E2%80%AFPM.png?alt=media&amp;token=e74f37c0-1a65-4f64-8f4d-509afae80893" alt=""><figcaption></figcaption></figure>
