> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
> Use this file to discover all available pages before exploring further.

# core::starknet::syscalls::get_execution_info_syscall

Gets information about the currently executing block and the transactions within it.
For a complete description of this information, see `Execution information`.
When an account’s `__validate__`, `__validate_deploy__`, or `__validate_declare__` function
calls `get_execution_info`, the return values for `block_timestamp` and `block_number` are
modified as follows:

* `block_timestamp` returns the hour, rounded down to the nearest hour.
* `block_number` returns the block number, rounded down to the nearest multiple of 100.

## Signature

```rust theme={null}
pub extern fn get_execution_info_syscall() -> Result, Array> implicits(GasBuiltin, System) nopanic;
```

#### Returns

* A struct that contains information about the currently executing function, transaction, and
  block.
