Query editor
WITH DailyFees AS (SELECTDATE_TRUNC('day', block_time) AS date,COUNT(hex) AS daily_total_txns,SUM(fee) * 1e8 AS daily_total_feesFROM bitcoin.transactionsWHEREinput[1].script_pub_key.address IN ('bc1qep2un4cvwmhf6kxjgp6kzqcpzzyl98l5zkndl2', 'bc1q83zmvtfks2dnvqfgcmxme24kah602cxr59h5v7', 'bc1q9gmuj49f0j0470ke8qv50q8fkk0huxlcg3uk7m')GROUP BY1ORDER BYdate)SELECTdate,SUM(daily_total_txns) OVER (ORDER BY date) as cumulative_total_txns,SUM(daily_total_fees) OVER (ORDER BY date) AS cumulative_total_feesFROM DailyFees