Last updated on January 1, 1970

1 min read

Method getversion undefined ()
connect with JSON-RPC protocol

getversion

info-circle-fill

Fetch the version of the current node.

Parameters

-

Request

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

Response

{
    "desc": "SUCCESS",
    "error": 0,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "v2.4.3-0-gf966c6d"
}
banner icon

Start Building with GetBlock RPCs for Free