↩ in reply to AlgoXT
The best way is to look at the transactions that get sent in the add liquidity grouped transaction.
For example, by looking at an add liquidity transaction group on algoexplorer (for tinyman) - AlgoExplorer Yldy add liquidity example, you can see there is an app call, the ALGO being added, the ASA (YLDY in this case) being added, the pool tokens being transferred from the pool account to the user and lastly the fee.
What’s also quite helpful is in the App Call TXN of the add liquidity transaction group, there is an BASE64 app arg (bWludA==). This decodes to “mint”.
These are quite easy ways to tell if it’s an add liquidity transaction on tinyman. You can programmatically check these using the indexer in python etc.
Like @fabrice said,
So if you would like to detect add liquidity transactions on a different dex, you would need to look at the txn groups.
I don’t think there is. You can write a program to check for transactions of a certain type though. Correct me if I’m wrong.