I want to extract some user readable data from CompiledInstruction
. Specifically, I want to understand if CompiledInstruction
is native token transfer (SOL), and print sender, recipient, and amount. I looked at sdk docs, and didn't found methods which can extract such high level information from it. Probably, convert CompiledInstruction
to Instruction
can help, but I didn't find functions for this as well.
↧
How to decode `solana_sdk::instruction::CompiledInstruction` (rust solana sdk)?
↧