Function solana_program::sysvar::instructions::load_instruction_at
source · [−]pub fn load_instruction_at(
index: usize,
data: &[u8]
) -> Result<Instruction, SanitizeError>
👎 Deprecated since 1.8.0:
Unsafe because the sysvar accounts address is not checked, please use load_instruction_at_checked
instead
Expand description
Load an Instruction
in the currently executing Transaction
at the
specified index