Query editor
WITH tx_data AS (SELECTdate_trunc('day', block_time) AS day,COUNT(*) AS amount_txs,round(avg(gas_price)/1e9,5) as avg_gas_price_gwei,round(max(gas_price)/1e9,5) as max_gas_price_gwei,SUM(gas_price * gas_used / 1e18) AS mon_spent_allFROM robinhood.transactionsWHERE "from" IN (0x5554986b80979f1cD722924e87f1D20A914CA555)GROUP BY 1)SELECT*,-- SUM( mon_spent_all) OVER (ORDER BY day ASC) AS cumulative_v11,mon_spent_all * 2200 as daily_usdFROM tx_dataORDER BY day DESC;