Gets information about the currently executing block and the transactions within it. For a complete description of this information, seeDocumentation Index
Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
Use this file to discover all available pages before exploring further.
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_timestampreturns the hour, rounded down to the nearest hour.block_numberreturns the block number, rounded down to the nearest multiple of 100.
Signature
Returns
- A struct that contains information about the currently executing function, transaction, and block.