Function solana_sdk::keyed_account::keyed_account_at_index[][src]

pub fn keyed_account_at_index<'a>(
    keyed_accounts: &'a [KeyedAccount<'_>],
    index: usize
) -> Result<&'a KeyedAccount<'a>, InstructionError>
Expand description

Return the KeyedAccount at the specified index or a NotEnoughAccountKeys error