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

$ curl -X GET http://localhost:2442/api/v1/toptipHeight \
    -H 'Content-Type: application/json;charset=utf-8'

Response (Success)

{ "height": 346151 }

Last updated