solana_sdk::sysvar::instructions

Function load_instruction_at_checked

Source
pub fn load_instruction_at_checked(
    index: usize,
    instruction_sysvar_account_info: &AccountInfo<'_>,
) -> Result<Instruction, ProgramError>
Expand description

Load an Instruction in the currently executing Transaction at the specified index