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