raydium-io / raydium-contract-instructions

123 stars 125 forks source link

Decoding Transaction Instruction #22

Open iamnotstatic opened 7 months ago

iamnotstatic commented 7 months ago

Hi guys, 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.

henrytirla commented 7 months ago

Can you provide a concise example. I don't seem to understand what you mean by decoding transaction instruction

tuncatunc commented 5 months ago

@iamnotstatic may be this helps https://github.com/warp-id/solana-trading-bot/blob/4c9304ace338544b1295d6dd11772f5661f9d250/listeners/listeners.ts#L53

iamnotstatic commented 5 months ago

@iamnotstatic may be this helps https://github.com/warp-id/solana-trading-bot/blob/4c9304ace338544b1295d6dd11772f5661f9d250/listeners/listeners.ts#L53

Thanks, but i was looking for more of a solution in RUST