For the complete documentation index, see llms.txt. This page is also available as Markdown.

Contract.call_graph()

Returns call graph of the contract.

call_graph() → CallGraph

Example query

from glider import *

def query():
  contracts = Contracts().exec(50, 50)
  
  names = []
  for contract in contracts:
    call_graph = contract.call_graph()

    nodes = call_graph.name_prefix("min")

    for node in nodes:
      names.append(node.function_name())

  return [{"names": names}]

Example output

Last updated