Find the block closest to a date
One step with Moralis. We can help you get access.
Look something up
Find the block closest to a date
with Moralis · On-Chain Data & Indexing
Use Moralis: its EVM Block API lets you find the block closest to a date in a single step (GET /dateToBlock). capabilities.work can help you get signed up and connected.
- Which block was mined closest to a given date?
- Can I find a block by a date instead of a hash?
Say it to your AI assistant
- Find the block on {chain} closest to {date}.
- Get the block hash for {date} on {chain}.
For your developer
GET /dateToBlock in EVM Block API. Full spec on APIs.io.