Query editor
with daily_usage as (select block_time, "from", "value"/1e18 as eth_amount,row_number() over (partition by "from" order by block_time) as wallet_numbering, hash,row_number() over (partition by hash order by block_time) as hash_numberingfrom goerli.transactionswhere "to" = 0xE87d317eB8dcc9afE24d9f63D6C760e52Bc18A40and "value" > 0and "success" = true)select "Date", count(distinct "from") as unique_wallets, sum(eth_amount) as total_eth,sum(sum(case when wallet_numbering = 1 then 1 else 0 end)) over (order by "Date") as cumulative_wallets,sum(sum(eth_amount)) over (order by "Date") as cumulative_eth,count(hash) as txns, sum(sum(case when hash_numbering = 1 then 1 else 0 end)) over (order by "Date") as cumulative_txnsfrom (select date_trunc('week', block_time) as "Date", "from", wallet_numbering, eth_amount, hash, hash_numberingfrom daily_usage) sqgroup by 1order by 1/*select date_trunc('day', block_time) as "Date", count(distinct "from") as unique_wallets, sum("value"/1e18) as total_eth,count(hash) as txnsfrom goerli.transactionswhere "to" = 0xE87d317eB8dcc9afE24d9f63D6C760e52Bc18A40and "value" > 0and "success" = truegroup by 1order by 1*/