Query editor
with addresses(wallets) as (values(0xf5C28Ba718E4cbaE253AB3ddb83173b9522A614A),(0x7Ca4451565Bb1D689083c62bFD1782B838Bf3edD),(0x8EffD6Cc10f2581240DC9fe50a81FA29bDE916EB),(0x90f85c0Fc64dA5F5b54C13372be886A78312e71f),(0xe39F5E288BFB40Ad959367D374558b41583B8A2C),(0xEb87eAaF6Ed473e821331E1462Ac47F6B316a2C4),(0xc82BA14da797481e756A8B478062B0D3480BEe49),(0xD30C9a0Af85Db35B9FCE285403eB35334842BAf4),(0x6CDCB158b306a9f8f62da23a4aeF809EEcF90C7B),(0xaF7E1d7e709EA1FD7d97928c8C913C4387B3c91a),(0x1a28BDfDB1d6e31bE42459B7Bb2e7ed8D274725e),(0xD9AEB556A8dc96e8d221eE47448C23A6706a37Fc),(0xb9989c09DE058bD58682116FD8623EDe1fB14960)), buys as (select*from dune.lagunagames12_team.dataset_marketplace_sales_v2where seller in (select wallets from addresses)--group by 1)selectseller,sum(case when currency = 'CU' then amount_raw/1e18 else 0 end) as tot_cu,sum(case when currency = 'WETH' then amount_raw/1e18 else 0 end) as tot_eth,sum(case when currency = 'XAI' then amount_raw/1e18 else 0 end) as tot_xaifrom buysgroup by 1