Query editor
with burn_count as (select contract_address, token_id, casewhen contract_address = 0x10db7f0863d0293d783bda8e1cf73ed79879500b then 'Riddle of Chaos'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 1 then 'Pawn'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 2 then 'Knight'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 3 then 'Bishop'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 4 then 'Rook'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 5 then 'Queen'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 6 then 'King'when contract_address = 0x473989bf6409d21f8a7fdd7133a40f9251cc1839 and token_id = 7 then 'Whisper'end as token_text_id, sum(amount) as token_burntfrom nft.transferswhere contract_address in (0x473989bf6409d21f8a7fdd7133a40f9251cc1839, 0x10db7f0863d0293d783bda8e1cf73ed79879500b)and "to" in (select spellfire_address from dune.deflora.dataset_anichess_spellfire_address)-- and "to" in (0x6821eeb8caed6c2076d2bd0c4a9e611c2e1e83c1, 0xf8653ae9a529c72678f60dd1339b922f5367d572, 0x4565f8c984359274bd3e354e7212e8efae47dbe5)and block_time >= timestamp '2024-07-07'group by 1, 2)select * from burn_count