HYCON
Search…
Getting highest block on current chain
api/v1
Response - 200 OK, application/json
Parameter
Type
Description
height
string
Block number of the highest block
Response Error Table
Status
Error
Message
404
NOT_FOUND
Fail to getTopTipHeight
GET/api/v1/toptipHeight
Example request
1
$ curl -X GET http://localhost:2442/api/v1/toptipHeight \
2
-H 'Content-Type: application/json;charset=utf-8'
Copied!
Response (Success)
1
{ "height": 346151 }
Copied!
Last modified 3mo ago
Copy link