Query editor
WITH operator_calls AS (SELECT"from" AS operator_address,COUNT(*) AS total_calls,SUM(value) AS total_eth_gas /* Proxy for activity size */FROM ethereum.transactionsWHERE"to" = FROM_HEX('15622c3dbbc5614e6dfa9446603c1779647f01fc') /* Lender – all txns as borrow/repay proxy */AND block_time >= TRY_CAST('2025-05-01' AS TIMESTAMP) /* Launch */GROUP BY 1ORDER BY total_calls DESCLIMIT 10 /* Top 10 operators */),debt_proxy AS (SELECToperator_address,total_calls * 1000 AS estimated_debt_usd /* Proxy: calls * $1k avg borrow size */FROM operator_calls)SELECTo.operator_address,o.total_calls,d.estimated_debt_usd,ROUND((d.estimated_debt_usd / NULLIF(o.total_calls * 1000, 0)) * 100, 2) AS proxy_ltv_pct /* LTV = debt / (calls * $1k) = 100% by design, but adjust for health */FROM operator_calls oLEFT JOIN debt_proxy d ON o.operator_address = d.operator_addressORDER BY o.total_calls DESC