Query editor
-- DXT Pro user wallets → BNB Chain activityWITH user_wallets AS (SELECTfrom_hex(replace(lower(trim(addr)), '0x', '')) AS addr_bin,lower(trim(addr)) AS addr_strFROM unnest(split('{{addresses}}', ',')) AS t(addr)WHERE length(trim(addr)) = 42),bnb_act AS (SELECT "from" AS addr_bin,COUNT(*) AS tx_count,MIN(block_time) AS first_tx,MAX(block_time) AS last_txFROM bnb.transactionsWHERE "from" IN (SELECT addr_bin FROM user_wallets)AND block_date >= DATE '2020-09-01'GROUP BY 1)SELECTuw.addr_str AS owner_address,COALESCE(b.tx_count, 0) AS bnb_tx_count,b.first_tx AS first_bnb_tx,b.last_tx AS last_bnb_tx,(b.addr_bin IS NOT NULL) AS has_bnbFROM user_wallets uwLEFT JOIN bnb_act b ON b.addr_bin = uw.addr_binORDER BY bnb_tx_count DESC