Kryvon / KRYVON DEVELOPER DOCSKRYVON DEVELOPER DOCS

Statistics

Use the statistics reference for the Kryvon node, with RPC parameters, response types and examples.

RPC reference

Module Stats

RPC Module Stats for getting various statistic data.

Method get_blockchain_info

Returns statistics about the chain.

Example

Request

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

Response

{
  "jsonrpc": "2.0",
  "result": {
    "alerts": [],
    "chain": "kryvon",
    "difficulty": "0x5b8d9e",
    "epoch": "0xf00000000000",
    "is_initial_block_download": true,
    "median_time": "0x1a22c0031e0"
  },
  "id": 1
}