Skip to main content
GET
/
v2
/
api
Get Estimated Block Countdown by Block Number
curl --request GET \
  --url https://api.etherscan.io/v2/api
{
  "status": "0",
  "message": "NOTOK",
  "result": "Error! Block number already pass"
}

Documentation Index

Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"1"
Chain ID you query, eg 1 for Ethereum, 8453 for Base from our supported chains.
module
string
default:"block"
Set to block for this endpoint.
action
string
default:"getblockcountdown"
Set to getblockcountdown for this endpoint.
blockno
integer
default:"16701588"
Block number to estimate time remaining for.
{
  "status": "0",
  "message": "NOTOK",
  "result": "Error! Block number already pass"
}