Current block # in starknet?

is there a way to get current block # in starknet in a smart contract code?

10 Likes

You have a syscall for getting the current block number.
See here.

11 Likes