Find blocktime for a specific block. /blocktime/<block_id> #2286
matthewvollmer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I would like to make a collection that represents how long the most recent block took to complete through generative art, reflecting the current strain on the mempool.
With the current implementation, we can access the current Blocktime, but this means I have to wait until another block completes to find the difference between the times, to determine how long the block actually took.
As we already have the ability to find the blockhash for a given block, would it be possible to add an endpoint for the blockheight of a specific block? This seems like it would be consistent with existing functionality, and could be very useful.
With this, I would be able to find the blocktime of the previous block, and I would be able to immediately find the information I'm looking for without having the wait ~10 minutes after render.
Let me know your thoughts, thank you!
Beta Was this translation helpful? Give feedback.
All reactions