what is the difference between sending a transaction from a client to the Raydium program to make a swap and making your program that does a cpi call to the Raydium program and sending the transaction to your program instead?
I have seen some people doing this and I am wondering if anyone knows the benefits of doing a cpi call vs the other? Are there more chances that it is included in the block are there any benefits regarding speed?
Thank you in advance for your answers.