BNB Chain Introduces Millisecond-Level Block Timestamps Through BEP-706
BNB Chain announced that BEP-706 has been included in the Jenner hard fork upgrade. Through a new precompiled contract deployed at address 0x70, the upgrade will provide smart contracts with block timestamps accurate to the millisecond. Developers can read millisecond-level timestamps through the new interface, while existing second-based timing logic using `block.timestamp` will remain unchanged.
The feature supports sub-second precision use cases, including quote settlement with validity periods of only a few hundred milliseconds, auction deadlines, and timeliness checks for price oracle data updates. The new precompiled contract costs 20 Gas to execute, while calls incur the corresponding call and memory costs. BNB Chain reminded developers to ensure consistency between seconds and milliseconds, verify whether calls succeed, and check that the returned data is the expected 32 bytes.
Source:AiCoin
Published on
Disclaimer: Investing involves risk. This article does not constitute investment advice.











