Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 271 Bytes

getblockcount.md

File metadata and controls

26 lines (20 loc) · 271 Bytes

getblockcount 方法

获取主链中区块的数量。

调用示例

请求正文:

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

响应正文:

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