Check if trc20 address is a contract

Hi everyone! I need to check whether TRC20 address is contract or account. I assume, there is difference in hash between these types of addresses but I don’t know for sure. would greatly appreciate any info!

Best way to check that would be to use an tron blockchain explorer. or tronscan

Just by decoding the address is not possible, the formatting is the same as regular accounts, but you can use the API. (example with USDT contract) it returns a json with a bunch of keys, you need to look for “type”:“Contract” or “type”:“Active”