Function switchboard_solana::program_id::instruction::get_stack_height
pub fn get_stack_height() -> usize
Expand description
Get the current stack height, transaction-level instructions are height TRANSACTION_LEVEL_STACK_HEIGHT, fist invoked inner instruction is height TRANSACTION_LEVEL_STACK_HEIGHT + 1, etc…