/node/version - Polkadot
This endpoint returns the node's client version, implementation name, and the chain it is connected to.
On GetBlock's unified endpoint, Asset Hub is the default network. To call this endpoint against the Relaychain, add an /rc prefix to the path (for example, /rc/node/version).
Endpoint
httpGET /node/versionRequest
bashcurl --location 'https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/node/version'example.js
javascriptconst response = await fetch('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/node/version');
const data = await response.json();
console.log(data);example.py
pythonimport requests
response = requests.get('https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/node/version')
print(response.json())Response
json{
"clientVersion": "1.15.0-a1b2c3d",
"clientImplName": "parity-polkadot",
"chain": "Polkadot"
}Response Fields
| Field | Type | Description |
|---|---|---|
| clientVersion | string | Node client version |
| clientImplName | string | Client implementation name |
| chain | string | Connected chain name |
Use Cases
- Diagnostics: Identify the node version and chain
- Compatibility: Confirm a supported client release
- Monitoring: Track versions across nodes
- Support: Include node details in a report