Skip to main content

get_processed_instruction_data

Function get_processed_instruction_data 

Source
pub fn get_processed_instruction_data<const MAX_DATA: usize>(
    index: u64,
) -> Option<ProcessedInstructionData<MAX_DATA>>
Expand description

Read bounded instruction data from a sibling with up to 64 account metas. The entire data must fit MAX_DATA; this never returns truncated data. Account scratch is still required by the syscall even when the caller only wants data. Use get_processed_instruction_into to select both capacities.