Query editor
SELECTrelayer AS integrator,COUNT(DISTINCT tx_hash) AS total_txns,SUM(relay_fee_in_usd) AS total_app_fees_usd,SUM(value) AS total_volume_usd,MIN(block_time) AS first_seen,MAX(block_time) AS last_seenFROM dune.risk_labs.result_across_transfers_foundationWHERE relay_fee_in_usd > 0GROUP BY 1ORDER BY total_app_fees_usd DESC;