Is there a way to tell if a transaction involves a user providing liquidity? For example, in this transaction I am providing liquidity using Raydium. I am trying to tag other transactions that provide liquidity given a wallet address. Is there a way to do this maybe by analyzing the accounts array or the instructions? Any resources or advice would be greatly appreciated!
1 Answer
Being as the explorer can identify the fourth instruction as "add liquidity", you should be able to scan all transactions for Raydium instructions with the same discriminator (3? probably dig through their code to confirm)