Get Estimated Block Countdown Time by BlockNo

https://api.routescan.io/v2/network/testnet/evm/ /etherscan/api
  ?module=block
  &action=getblockcountdown
  &blockno=16701588
  &apikey=YourApiKeyToken
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.routescan.iork/testnet/evm/ /etherscan/api
  ?module=block
  &action=getblocknobytime
  ×tamp=1619638524
  &closest=before
  &apikey=YourApiKeyToken
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

Loading