Query editor
WITH mint_calls AS (SELECT"to" AS contract_address,"from" AS caller,block_time,tx_hash,bytearray_substring(input, 1, 4) AS selectorFROM ethereum.tracesWHERE "to" IS NOT NULLAND call_type = 'call'AND block_time >= NOW() - INTERVAL '30' DAY-- Extended list of popular mint selectorsAND (starts_with(input, 0x6a627842) -- mint(address)OR starts_with(input, 0x40c10f19) -- mint(address,uint256)OR starts_with(input, 0x632d3c2b) -- mint(address,uint256) variantOR starts_with(input, 0x78b8f4e3) -- safeMint(address,uint256)OR starts_with(input, 0x4b0b5e6f) -- mint(uint256)OR starts_with(input, 0x1f7b5d6f) -- mint() no parametersOR starts_with(input, 0xa0712d68) -- mintBatchOR starts_with(input, 0x4e6a8f3e) -- mintWithSignatureOR starts_with(input, 0x2c3a6f8d) -- mint(address,uint256,bytes)OR starts_with(input, 0xf0a1e8e0) -- other mint variants)),contracts_with_public_mint AS (SELECTcontract_address,MIN(block_time) AS first_mint_time,MAX(block_time) AS last_mint_time,COUNT(DISTINCT caller) AS unique_callers,COUNT(*) AS total_mint_calls,ARRAY_AGG(DISTINCT selector) AS used_selectorsFROM mint_callsGROUP BY contract_addressHAVING COUNT(DISTINCT caller) >= 3AND COUNT(*) >= 5)SELECTcontract_address,first_mint_time,last_mint_time,unique_callers,total_mint_calls,used_selectors,CONCAT('https://etherscan.io/address/', CAST(contract_address AS VARCHAR)) AS etherscan_linkFROM contracts_with_public_mintORDER BY last_mint_time DESCLIMIT 100