0

in my contract, I need to do something based on time, and this is quite sensitive, and as we know, you cannot rely on the block.timestamp because it can be changed, I want to know if there is a way that I can use the time stamp correctly or use it from somewhere?

1
  • block.timestamp is accurate to 12 seconds. no more no less, it is exactly in 12 seconds intervals.
    – high_byte
    Commented Sep 27, 2023 at 20:18

1 Answer 1

0

As far as i know you can use Oracles to determine accurate time and off chain data in general

1
  • I want to use in my own Blockchain and there is not any oracle on this chain
    – Mehran Ra
    Commented Sep 27, 2023 at 2:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.