Function get_stack_height

Source
pub fn get_stack_height() -> usize
Expand description

Get the current stack height.

Transaction-level instructions are height crate::TRANSACTION_LEVEL_STACK_HEIGHT, fist invoked inner instruction is height TRANSACTION_LEVEL_STACK_HEIGHT + 1`, and so forth.