Skip to main content

get_est_height_from_date

Give an estimation of block height by the given date.

URL: http:://127.0.0.1:11211/json_rpc

Request:

{
"id": 0,
"jsonrpc": "2.0",
"method": "get_est_height_from_date",
"params": {
"timestamp": 1711021795
}
}

Request description:

    "timestamp": Linux timestamp for the required date.

Response:

{
"id": 0,
"jsonrpc": "2.0",
"result": {
"h": 2555000,
"status": "OK"
}
}

Response description:

    "h": Estimated height of a block.
"status": Status of the call.