back to methods summary

Get the local blockchain height and the current known network height. (This is the height of the current mined block, not the lastest known and written block)
No parameters.

Example :

$ curl -s localhost:13001/getheight | jq

Return :

{
  "height": 685360,
  "network_height": 685360,
  "status": "OK"
}

back to methods summary