Query editor
-- caution topic “42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc” corresponds to all occurrences of “addBlackList” function-- instance could reference data overfit, if tron multisig address constraint: 0x0fa695d6b065707cb4e0ef73b751c93347682bf2(TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto) not present-- reference: https://tokenview.medium.com/how-to-know-if-an-address-is-blacklisted-on-tron-a07f2b9cb2d8-- example: https://tronscan.org/#/transaction/e55f21880eb4b58aace813b1350776b085194af613f3fdd9ff38bd328399fe80/event-logs-- usdt_tron_ca: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t https://tronscan.org/#/contract/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t/code-- usdt_tron_multisig: https://tronscan.org/#/contract/TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto/code-- test conversions to tron_address using this: select to_tron_address(0x0fa695d6b065707cb4e0ef73b751c93347682bf2)-- old sample returning all tron addresses and tx_hashes in evm format, remove '0x' from tx_hash for tron format-- select-- block_time,-- tx_hash,-- to_tron_address(substr(topic1, 13)) AS usdt_blacklisted_tron_address-- from tron.logs-- where topic0 = from_hex('42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc')-- order by block_time descselectblock_time,substring(cast(tx_hash as varchar), 3) as tron_hash,tx_hash,to_tron_address (substr(topic1, 13)) as usdt_blacklisted_tron_address,tx_to,tx_from,'tron' as chainfromtron.logswheretopic0 = from_hex('42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc')andblock_time > from_unixtime(1738591085)andtx_to = 0x0fa695d6b065707cb4e0ef73b751c93347682bf2order byblock_time desc;