Instruction.is_throw()

Returns True if the instruction is throw instruction, otherwise returns False.

is_throw() -> bool

Query Example

from glider import *


def query():
  return (
    Functions()
    .with_name("BliBliToken")
    .exec(1)
    .instructions()
    .exec()
    .filter(lambda x: x.is_throw())
  ) 

With the Glider 1.0 update, calling the exec function returns an APIList[Instruction]. You can then use Instruction functions, which are applied to each element of the APIList[Instruction]

Example Output

Last updated