Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 274 Bytes

getblockcount.md

File metadata and controls

26 lines (20 loc) · 274 Bytes

getblockcount Method

Get the block count of the main chain.

Example

Request body:

{
   "jsonrpc": "2.0",
   "method": "getblockcount",
   "params":[],
   "id": 1
}

Response body:

{
   "jsonrpc": "2.0",
   "id": 1,
   "result": 991991
}