Function solana_program::instruction::get_stack_height

source ·
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…