Skip to main content
4 events
when toggle format what by license comment
Jul 25, 2023 at 15:35 comment added DefiDebauchery @DEEPAKS.V. - Yes, the Multicall contract (linked in another comment) does have a getCurrentBlockTimestamp to fetch that. Just note that you wouldn't be able to provide an arbitrary block number; it only shows the most recent block's timestamp.
Aug 4, 2022 at 19:22 vote accept DEEPAK S.V.
Aug 4, 2022 at 19:19 comment added DEEPAK S.V. Thank you for the answer. Do you know any public SmartContract which returns the timestamp of a block (similar to web3.eth.getBlock().timestamp), that I can directly use?
Aug 4, 2022 at 18:29 history answered Sky CC BY-SA 4.0