File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/3-smart-contract-features Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ sidebar_position: 4
55# Precise transaction timestamp
66
77Real-time games require users to make quick decisions, and the outcomes depend on the precise moment in time when the action was made.
8- This doesn't work well on-chain because latencies are not low enough.
8+ This doesn't work well on-chain because latencies are not low enough. ** The timestamp is provided in milliseconds ** .
99
1010### Option 1 - External Timestamp oracle
1111
@@ -42,7 +42,7 @@ interface ITimestamp {
4242
4343``` solidity
4444
45- // TEN provides a system contract that returns the precise timestamp of the calling transaction
45+ // TEN provides a system contract that returns the precise timestamp in milliseconds of the calling transaction
4646interface ITimestamp {
4747 function getTransactionTimestamp() external returns (uint256);
4848}
You can’t perform that action at this time.
0 commit comments