Query editor
SELECTtoken_symbol AS symbol,CAST(block_date AS varchar) AS day,SUM(amount_usd) AS total_volume_usd,COUNT(*) AS trade_count, -- = transfer count (see note)approx_distinct("from") AS unique_traders -- distinct senders, approx (cheap; exact COUNT DISTINCT is costly)FROM stablecoins_multichain.transfersWHERE blockchain = 'ethereum'AND currency = 'USD'AND block_time >= date_add('day', -30, current_date) -- rolling window; shorten if the credit cap tripsAND amount_usd > 0AND "from" <> '0x0000000000000000000000000000000000000000' -- exclude mintsAND "to" <> '0x0000000000000000000000000000000000000000' -- exclude burnsGROUP BY token_symbol, CAST(block_date AS varchar)ORDER BY day DESC, total_volume_usd DESCLIMIT 2000;