raydium-io / raydium-amm

Constant product AMM integrated with the OpenBook CLOB
Apache License 2.0
92 stars 85 forks source link

Decoding transaction instruction in RUST #9

Closed iamnotstatic closed 3 months ago

iamnotstatic commented 5 months ago

I'm working on listening for events on Raydium v4 AMM program and have figured out most of what I need. However, I'm currently stuck on decoding Raydium transaction instructions. Has anyone done something similar or know a good approach for this? Any help would be greatly appreciated.

RainRaydium commented 3 months ago

I don't know if it's available for now, maybe you need to search on browser, and the source code is open source now, or you can try to parse it yourself.