Function eosio_sys::tapos_block_num

source ·
pub unsafe extern "C" fn tapos_block_num() -> c_int
Expand description

Gets the block number used for TAPOS on the currently executing transaction.

@brief Gets the block number used for TAPOS on the currently executing transaction. @return block number used for TAPOS on the currently executing transaction Example: @code int tbn = tapos_block_num(); @endcode