GlobalFilters.BLOCK_CHAIN_ID

The BLOCK_CHAIN_ID property is used to add a filter to include or exclude functions that calls block.chainid.

Query Example

from glider import *


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

Example Output

Last updated