Etherscan Compatible APIs
Blocks
Get Estimated Block Countdown Time by BlockNo
https://api.lorescan.com/[chain]/
?module=block
&action=getblockcountdown
&blockno=16701588
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
blockno | the integer block number to estimate time remaining to be mined. |
Get Block Number by Timestamp
https://api.lorescan.com/[chain]/
?module=block
&action=getblocknobytime
×tamp=1619638524
&closest=before
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
timestamp | the integer representing the Unix timestamp in seconds. |
closest | the closest available block to the provided timestamp, either before or after |