Query editor
WITH eth_price AS (SELECT price AS current_eth_priceFROM prices.usdWHERE symbol = 'ETH'ORDER BY minute DESCLIMIT 1), stats AS (SELECT SUM("value") / POWER(10, 18) AS total_deposits, COUNT(DISTINCT "from") AS users, COUNT("hash") AS transaction_countFROM ethereum.transactionsWHEREto = 0x83cB71D80078bf670b3EfeC6AD9E5E6407cD0fd1AND block_date > date '2024-07-27'AND success = true)SELECT st.total_deposits * ep.current_eth_price AS total_deposits,st.total_deposits AS total_deposits_as_eth,st.users,st.transaction_countFROM eth_price epCROSS JOIN stats st