eth_protocolVersion

Retrieves the current Ethereum protocol version that the client is using

Request
Examples
curl --request POST \
     --url https://rpc.xone.org\
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_protocolVersion"
}
'
Response
200 OK
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x41"
}

Request params

NameTypeDescription
idintegerRequest identifier
jsonrpcstringJSON-RPC version
methodstringAPI method name
ParametersThis method does not accept any parameters. 

Response

200
The protocol version, represented as a string.
NameTypeDescription
Parametersobject 
idinteger
jsonrpcstring
resultstring