Home

getblockcount

POST
https://ltc.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the number of blocks in the longest blockchain. This number increases as new blocks are added.

Body

application/json
jsonrpcstringrequired
idstringrequired
methodstringgetblockcountrequired
paramsarrayrequired

This method takes no parameters.

Response

200OK

Current block height retrieved successfully

401Unauthorized

Unauthorized

500Internal Server Error

Internal Server Error