Last updated on January 1, 1970

2 min read

Method hard_fork_info undefined ()
connect with JSON-RPC protocol

hard_fork_info

info-circle-fill

Look up information regarding hard fork voting and readiness.

Parameters

-

Request

curl --location --request POST 'https://xmr.getblock.io/mainnet/json_rpc' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "hard_fork_info",
"params": {},
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "credits": 0,
        "earliest_height": 2210720,
        "enabled": true,
        "state": 1,
        "status": "OK",
        "threshold": 0,
        "top_hash": "",
        "untrusted": false,
        "version": 14,
        "votes": 10080,
        "voting": 14,
        "window": 10080
    }
}
banner icon

Start Building with GetBlock RPCs for Free