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
Parameter | Description |
---|---|
[https://docs.etherscan.io/api-endpoints/blocks#get-daily-average-block-size]
Returns the daily average block size within a date range.
Query Parameters
[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
Returns the daily average of time needed for a block to be successfully mined.
Query Parameters
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
Try this endpoint in your browser
Parameter | Description |
---|---|
timestamp
the integer
representing the Unix timestamp in seconds.
closest
the closest available block to the provided timestamp, either before
or after
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
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
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