Last modified: 2024-08-12
getblockcount Method
Gets the block count of the blockchain.
You must install the plugin RpcServer before you can invoke the method.
Example
Request body:
{
"jsonrpc": "2.0",
"method": "getblockcount",
"params":[],
"id": 1
}
Response body:
{
"jsonrpc": "2.0",
"id": 1,
"result": 991991
}