Query editor
WITH transfers AS((SELECT data, topic1 as walletFROM polygon.logsWHERE contract_address = 0x9a818e78991df787bd706f228c9e99cf81e10cffAND tx_hash <> 0xee0221f1a9f0fcf2b0683841a1264455c79912e5ecfc03088163fe69c9029000)UNION ALL-- web_store contract(SELECT data, topic1 as walletFROM polygon.logsWHERE contract_address = 0xc9f7dd5dca7848798210008e8493f385f0771893)UNION ALL-- chest_eth contract(SELECT data, topic1 as walletFROM polygon.logsWHERE contract_address = 0x011C1a01012f952cFf47d050CA23704612Ce0ae8)-- chest sale in ETH and PolygonUNION ALL(SELECT data, topic1 as walletFROM ethereum.logsWHERE contract_address = 0x3cbc0b5AF6A1F9B197bbC7F33B982b740e58065f)UNION ALL(SELECT data, topic1 as walletFROM polygon.logsWHERE contract_address = 0x011C1a01012f952cFf47d050CA23704612Ce0ae8))SELECT COUNT(DISTINCT(wallet))FROM transfers