system_version
Returns the semver-like version string reported by the node implementation. Use this to verify that your infrastructure is running the expected release or to surface diagnostics in status pages.
Parameters
This method does not take parameters.
Returns
Field | Type | Description |
---|---|---|
result | string | Implementation version string (e.g., 4.7.0-95e5e273b3e ). |
Request Example
{
"jsonrpc": "2.0",
"method": "system_version",
"params": [],
"id": 1
}
Response:
{
"jsonrpc": "2.0",
"result": "4.7.0-95e5e273b3e",
"id": 1
}
Quick Check with @polkadot/api
import { ApiPromise, WsProvider } from '@polkadot/api';
const provider = new WsProvider('wss://api-manta-atlantic-mainnet.n.dwellir.com/YOUR_API_KEY');
const api = await ApiPromise.create({ provider });
const version = await api.rpc.system.version();
console.log('Node version', version.toString());
Usage Notes
- Pair with
state_getRuntimeVersion
to track both runtime and binary upgrades. - During maintenance windows, validate that all nodes report the same version before returning them to rotation.