Query editor
with b as (select date_trunc('day', evt_block_time) d, sum(value/1e18) vvvfrom erc20_base.evt_Transferwhere contract_address = 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bfand "to" in (0x0000000000000000000000000000000000000000, 0x000000000000000000000000000000000000dead)and evt_block_time >= timestamp '2026-08-01' and evt_block_time < timestamp '2026-11-01'group by 1),p as (select date_trunc('day', minute) d, avg(price) px from prices.usdwhere blockchain='base' and contract_address=0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bfand minute >= timestamp '2026-08-01' and minute < timestamp '2026-11-01' group by 1),m as (select date_trunc('day', evt_block_time) d, sum(value/1e18) mintedfrom erc20_base.evt_Transferwhere contract_address = 0xacfe6019ed1a7dc6f7b508c02d1b04ec88cc21bfand "from" = 0x0000000000000000000000000000000000000000and evt_block_time >= timestamp '2026-08-01' and evt_block_time < timestamp '2026-11-01'group by 1)select date_trunc('month', coalesce(b.d,m.d)) mon, sum(b.vvv) burned_vvv, sum(b.vvv*p.px) burned_usd, sum(m.minted) minted_vvv, sum(b.vvv)/sum(m.minted) burn_pct_of_mintfrom b full outer join m on b.d=m.d left join p on p.d=coalesce(b.d,m.d)group by 1 order by 1