grs

Groestlcoin (GRS)

Method: POST getblockchaininfo

dropdown

POST getblockchaininfo

Returns an object containing various state info regarding blockchain processing.

Parameters

-

Request

curl --location --request POST 'https://grs.getblock.io/mainnet/' 
--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": "0000000000a2d6c519eded80221fe3fd0c7b28f86ad8dc87ce105b25b9edcbf6",
        "bip9_softforks": {},
        "blocks": 998928,
        "chain": "main",
        "chainwork": "0000000000000000000000000000000000000000000000000116a4d76f05f18d",
        "commitments": 35948926,
        "difficulty": 42545533.12047208,
        "headers": 998928,
        "pruned": false,
        "softforks": [
            {
                "enforce": {
                    "found": 4000,
                    "required": 750,
                    "status": true,
                    "window": 4000
                },
                "id": "bip34",
                "reject": {
                    "found": 4000,
                    "required": 950,
                    "status": true,
                    "window": 4000
                },
                "version": 2
            },
            {
                "enforce": {
                    "found": 4000,
                    "required": 750,
                    "status": true,
                    "window": 4000
                },
                "id": "bip66",
                "reject": {
                    "found": 4000,
                    "required": 950,
                    "status": true,
                    "window": 4000
                },
                "version": 3
            }
        ],
        "valuePools": [
            {
                "chainValue": 27493.17361864,
                "chainValueZat": 2749317361864,
                "id": "sprout",
                "monitored": true
            }
        ],
        "verificationprogress": 0.9999971008170291
    }
}