BSV blockchainBSV blockchain

getHeight

POST/getHeight

Retrieves the current blockchain height

Response

The current blockchain height

heightinteger

Invalid input

Internal server error

Request
curl -X POST "http://localhost:3321/getHeight"
Response
{
  "height": 0
}