Query editor
-- DXT Pro user wallets → Tron activity (same-private-key derivation only)-- Tron address = 0x41 || keccak256(pubkey)[12:] (i.e. 0x41 + EVM address bytes)-- This is a LOWER BOUND: catches only users who use the same key on Tron + EVM.WITH user_wallets AS (SELECTfrom_hex('41' || replace(lower(trim(addr)), '0x', '')) AS tron_addr_bin,lower(trim(addr)) AS evm_addr_strFROM unnest(split('{{addresses}}', ',')) AS t(addr)WHERE length(trim(addr)) = 42)SELECTuw.evm_addr_str AS owner_address,COUNT(*) AS tron_tx_count,MIN(t.block_time) AS first_tron_tx,MAX(t.block_time) AS last_tron_tx,COUNT(DISTINCT t."to") AS tron_distinct_contracts,SUM(CASE WHEN t.success THEN 1 ELSE 0 END) AS tron_success_tx_countFROM tron.transactions tJOIN user_wallets uw ON t."from" = uw.tron_addr_binWHERE t.block_date >= DATE '2018-06-01'GROUP BY 1ORDER BY tron_tx_count DESC