Query editor
WITHgiv as (SELECTaccount as adrsFROM query_5655128), rver as (SELECTgv.adrs, tx.block_time as time, tx.to as tx_to--, tx.hash as tx_hash, cast(tx.value as double)/1e18 as mon_value, ((gas_limit*cast(gas_price as double))/1e18) as feeFROM monad_testnet.transactions txLEFT JOIN giv gv ON gv.adrs = tx."from"WHERE tx."from" = gv.adrsAND tx.to IN (SELECTaccountFROM query_5652905)), fn as (SELECTdate_trunc('week', time) as week-- , adrs as sender, count(tx_to) as rv, sum(mon_value) as amount_sent, sum(fee) as gas_usedFROM rverGROUP BY 1)SELECTweek, sum(rv) over (ORDER BY week ASC) as cum_receiver, sum(amount_sent) over (ORDER BY week ASC) as cum_volume, rv as recepients, amount_sent as total_valueFROM fn