Function solana_program::sysvar::instructions::get_instruction_relative [−][src]
pub fn get_instruction_relative(
index_relative_to_current: i64,
instruction_sysvar_account_info: &AccountInfo<'_>
) -> Result<Instruction, ProgramError>
Expand description
Returns the Instruction
relative to the current Instruction
in the
currently executing Transaction