zen

Horizen (ZEN)

Method: POST getblockchaininfo

dropdown

POST getblockchaininfo

Returns an object containing various state info regarding blockchain processing.

Parameters

-

Request

curl --location --request POST 'https://zen.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "getblockchaininfo",
"params": [],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "bestblockhash": "000000000000000000073a1a473e9929e49cb7a5384703189902424805eeb1e9",
        "blocks": 678315,
        "chain": "main",
        "chainwork": "00000000000000000000000000000000000000001bc46291c0319c71776b96a4",
        "difficulty": 23137439666472.05,
        "headers": 678315,
        "initialblockdownload": false,
        "mediantime": 1617880251,
        "pruned": false,
        "size_on_disk": 383876459835,
        "softforks": {
            "bip34": {
                "active": true,
                "height": 227931,
                "type": "buried"
            },
            "bip65": {
                "active": true,
                "height": 388381,
                "type": "buried"
            },
            "bip66": {
                "active": true,
                "height": 363725,
                "type": "buried"
            },
            "csv": {
                "active": true,
                "height": 419328,
                "type": "buried"
            },
            "segwit": {
                "active": true,
                "height": 481824,
                "type": "buried"
            }
        },
        "verificationprogress": 0.9999972024360775,
        "warnings": ""
    }
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

2019 - 2021 GetBlock