Get Daily Average Block Time
Blocks
Get Daily Average Block Time
Retrieves the daily average time taken to successfully mine a block.
GET
Get Daily Average Block Time
This is a PRO endpoint, available to the Standard Plan and above
Authorizations
Enter your Etherscan API key, or set one up if you don't have one.
Query Parameters
Chain ID you query, eg 1 for Ethereum, 42161 for Arbitrum from our supported chains.
Set to stats for this endpoint.
Set to dailyavgblocktime for this endpoint.
Starting date in yyyy-MM-dd format.
Ending date in yyyy-MM-dd format.
Sort order, either asc or desc.
Response
200 - application/json
Successful response
1 if the request returned data, 0 otherwise. A status of 0 can indicate an error or a valid request that returned no records.
OK on success, otherwise an error description such as NOTOK. See common error messages.