Function solana_sdk::program::invoke_signed
source · [−]pub fn invoke_signed(
instruction: &Instruction,
account_infos: &[AccountInfo<'_>],
signers_seeds: &[&[&[u8]]]
) -> Result<(), ProgramError>
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.