pub fn invoke_signed(
    instruction: &Instruction,
    account_infos: &[AccountInfo<'_>],
    signers_seeds: &[&[&[u8]]]
) -> ProgramResult
Expand description

Invoke a cross-program instruction with program signatures

Notes:

  • RefCell checking can be compute unit expensive, to avoid that expense use invoke_signed_unchecked instead, but at your own risk.