Query editor
withbase_data as (SELECTDATE_TRUNC('day', evt_block_time) date,"from","to",evt_tx_hash,value / 1e18 amount,CASEWHEN "from" = 0x0000000000000000000000000000000000000000 then 'mint'when "to" = 0x0000000000000000000000000000000000000000and "from" = 0x9F0491B32DBce587c50c4C43AB303b06478193A7 then 'burned'when "to" = 0x9F0491B32DBce587c50c4C43AB303b06478193A7 then 'burn_initiated'else 'transfers'end categoryFROMstader_ethereum.ETHx_evt_Transfer),mint as (selectdate,"to" as address,SUM(amount) amountFROMbase_datawherecategory = 'mint'GROUP BY1,2),burn as (selectdate,"from" as address,-1 * SUM(amount) amountFROMbase_datawherecategory = 'burn_initiated'GROUP BY1,2),transfers as (selectdate,"to" as address,SUM(amount) amountFROMbase_datawherecategory = 'transfers'GROUP BY1,2UNIONselectdate,"from" as address,