cURL
curl --request GET \ --url 'https://eth.blockscout.com/api/?module=block&action=getblockcountdown'
{ "status": "1", "message": "OK", "result": { "currentBlock": "<string>", "countdownBlock": "<string>", "remainingBlock": "<string>", "estimateTimeInSec": "<string>" } }
Returns the estimated time remaining, in seconds, until a certain block is mined
Module name (must be 'block')
block
getblockcountdown
Target block number
Block countdown retrieved successfully
Status code (1 = OK)
1
Response message
"OK"
Show child attributes
Was this page helpful?