web3_clientVersion

Returns the current client version.

Parameters

none

Returns

String - The current client version

Example

Request

curl https://rpc-mainnet.u2u.xyz \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":0}'

Result

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": "Geth/v1.10.15-stable-8be800ff/linux-arm64/go1.17.5"
}

Last updated