Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 276 Bytes

getblockcount Method

Gets the number of blocks in the main chain.

Example

Request body:

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

Response body:

{
   "jsonrpc": "2.0",
   "id": 1,
   "result": 991991
}
You can’t perform that action at this time.