GlobalFilters.BLOCK_DIFFICULTY

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

Query Example

from glider import *


def query():
  functions = (
    Functions()
    .with_globals(GlobalFilters.BLOCK_DIFFICULTY)
    .exec(1, 4)
  )
  
  return functions

Example Output

Last updated