Skip to content

Commit

Permalink
Added details for block_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie committed Mar 13, 2024
1 parent 6d5c67f commit 7ee91e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ The struct `ExecutionInfo` contains the following information about the currentl

[horizontal,labelwidth="25",role="stripes-odd"]
`_block_number_: u64`:: The number of the block that is currently being executed. When called from an account contracts +`__validate__`+ function, this value is rounded down to the nearest multiple of 100.
`_block_timestamp_: u64`:: The timestamp showing the creation time of the block. When called from an account contracts +`__validate__`+ function, this value is rounded down to the nearest hour.
//Is this in UTC time? Or seconds since the Unix epoch? Or something else?
`_block_timestamp_: u64`:: The timestamp showing the creation time of the block, in seconds since the Unix epoch, based on UTC time, rounded down to the nearest second. When called from an account contract's +`__validate__`+ function, this value is rounded down to the nearest hour.
`_sequencer_address_: ContractAddress`:: The address of the Starknet sequencer contract.

[#tx_info]
Expand Down

0 comments on commit 7ee91e3

Please sign in to comment.