Function solana_program::program::invoke [−][src]
pub fn invoke(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>]
) -> ProgramResult
Expand description
Invoke a cross-program instruction
Note that the program id of the instruction being issued must also be included in
account_infos
.