Blocks
Last updated
Last updated
[https://docs.etherscan.io/api-endpoints/blocks#get-block-number-by-timestamp]
Returns the block number that was mined at a certain timestamp.
Try this endpoint in your browser
Query Parameters
timestamp
the integer
representing the Unix timestamp in seconds.
closest
the closest available block to the provided timestamp, either before
or after
[https://docs.etherscan.io/api-endpoints/blocks#get-daily-average-block-size]
Returns the daily average block size within a date range.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2023-10-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2023-10-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
[https://docs.etherscan.io/api-endpoints/blocks#get-daily-block-count-and-rewards]
Returns the number of blocks mined daily and the amount of block rewards.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2023-10-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2023-10-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Returns the daily average of time needed for a block to be successfully mined.
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2023-10-01
enddate
the ending date in yyyy-MM-dd
format, eg. 2023-10-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Try this endpoint in your browser
Try this endpoint in your browser
Try this endpoint in your browser