get_blockchain_info - Nervos

Returns statistics about the chain.

Parameters

  • none.

Returns

The info of chain.

Example

Request

curl --location --request POST 'https://ckb-mirana.unifra.io/v1/4fb36720a57340d39aee4cf68511064a' \
--header 'Content-Type: application/json' \
--data-raw '{
  "id": 42,
  "jsonrpc": "2.0",
  "method": "get_blockchain_info",
  "params": []
}'

Result

{
    "jsonrpc": "2.0",
    "result": {
        "alerts": [],
        "chain": "ckb",
        "difficulty": "0x88bfdfc84b971fb",
        "epoch": "0x6d501a9001947",
        "is_initial_block_download": false,
        "median_time": "0x18439722f0a"
    },
    "id": 42
}
Language
Click Try It! to start a request and see the response here!