web3_clientVersion

Returns the current client version.

Ethereum.org API Reference

Parameters

None

Returns

String - The current client version

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "web3_clientVersion"
}
'

Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "Geth/v1.12.0-stable-e501b3b0/linux-amd64/go1.20.3"
}

Last updated