> 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/callable/callable.instruction_with_id.md).

# Callable.instruction\_with\_id()

`instruction_with_id() →` [`Instruction`](/glider-ide/api/instruction.md)

This function is used internally while traversing CFG/DFG graphs.

## Example

```python
from glider import *
def query():
  functions = Functions().with_modifiers_name_not(["onlyOwner"]).exec(100)

  # Return the instruction with a specific id in a function
  return [functions[0].instruction_with_id(1)]
```

## Example output

```json
[
  {
    "contract": "0x798AcB51D8FBc97328835eE2027047a8B54533AD",
    "contract_name": "Context",
    "sol_function": `
    // Formatted for the example
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
    `,
    "sol_instruction": "return msg.sender"
  }
]
```
