Query editor
SELECT-- The User's Wallet"from" AS user_wallet,-- How many times they used the appCOUNT(*) AS interaction_count,-- How much they spent on gas fees (ETH) - Proof of CommitmentSUM((gas_used * gas_price) / 1e18) AS total_gas_spent_eth,-- Last time they used itMAX(block_time) AS last_seenFROM ethereum.transactions-- REPLACE THIS WITH ANY CONTRACT ADDRESS (e.g., Uniswap Router)-- Example: Uniswap V2 Router used belowWHERE "to" = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488DAND block_time > NOW() - INTERVAL '90' dayGROUP BY 1-- Filter for users who spent at least 0.01 ETH on feesHAVING SUM((gas_used * gas_price) / 1e18) > 0.01ORDER BY 3 DESCLIMIT 50