Skip to content

Question for block.timestamp #13

Closed Pinned Answered by uF4No
KittyFu307 asked this question in General
Jun 2, 2023 · 10 comments · 2 replies
Discussion options

You must be logged in to vote

block.timestamp will return the timestamp from the latest batch produed. In your case, your transactions were included in the batch #50922 which was produced at the same timestamp that your transactions emit in the event, 1685714192 (Fri Jun 02 2023 13:56:32 GMT+0000). Hope that helps understand how it currently works.

A batch will include transactions from multiple blocks and the batch is sealed/produced based on different parameters like timeout or just space in the batch, so there's not a fixed time to produce batches. You can read about that in this page of the docs. The more usage in the network, the faster batches will be sealed/produced.

Will there be a certain delay between block…

Replies: 10 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bxpana
Comment options

@Sam-Scolari
Comment options

Answer selected by bxpana
Comment options

You must be logged in to vote
0 replies

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question
9 participants