Query editor
with transfers as (select block_time,amount,amount_usd, tx_hashfrom tokens.transferswhere contract_address in(0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984, 0x8f187aA05619a017077f5308904739877ce9eA21, 0xc3De830EA07524a0761646a6a4e4be0e114a3C83, 0x6fd9d7AD17242c41f7131d257212c54A0e816691, 0xFa7F8980b0f1E64A2062791cc3b0871572f1F7f0)and to IN(0x000000000000000000000000000000000000dEaD,0x0000000000000000000000000000000000000000)and blockchain in('ethereum', 'unichain', 'arbitrum', 'optimism', 'base')and block_time>date('2025-12-28')and amount in(2000,4000)and "from" not in (0x81014F44b0a345033bB2b3B21C7a1A308B35fEeA, 0x99c9fc46f92e8a1c0dec1b1747d010903e884be1, 0x3154cf16ccdb4c6d922629664174b904d80f2c35, 0x81014f44b0a345033bb2b3b21c7a1a308b35feea, 0xa3a7b6f88361f48403514059f1f16c8e78d60eec)),missing_price as (select t1.block_time,t1.amount,case when t1.amount_usd is null then t1.amount*t2.price else t1.amount_usd end as amount_usd,t1.tx_hashfrom transfers as t1left join prices.minute as t2 on date_trunc('minute', t1.block_time)=t2.timestamp and t2.blockchain='ethereum' and t2.contract_address=0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984),burned as (select date_trunc('day', block_time) as time,sum(amount) as amount_raw,sum(amount_usd) as amount_usdfrom missing_pricegroup by 1),total as (select*,rank() over(order by time asc) as days,sum(amount_raw) over(order by time) as raw_cum,sum(amount_usd) over(order by time) as usd_cumfrom burned)select*,(raw_cum/days)*365 as projected_burn,(usd_cum/days)*365 as projected_burn_usdfrom totalorder by time desc