Skip to main content
Returns the version string of the node client software.
This method is not available on all public endpoints. It returns -32601 Method not found on the Sepolia public node (sepolia.base.org) but works on mainnet.

Parameters

No parameters.

Returns

result
string
The client version string. Format: <client>/<version>-<commit>/<platform>/base/<base-version>. Do not rely on parsing this string as it changes with node software updates.

Example

{
  "jsonrpc": "2.0",
  "method": "web3_clientVersion",
  "params": [],
  "id": 1
}