eth_protocolVersion

eth_protocolVersion - Celo

eth_protocolVersion. Returns the current Ethereum protocol version supported by the node

eth_protocolVersion - celo [Value: 0CU]
Retrieves the current protocol version that the client is using
Use cases

Use cases

  • Check current protocol version on node
  • Ensure compatibility with protocol updates
  • Validate node is running expected protocol version
Constraints

Constraints

  • Requires network access to node
  • Node must support protocol version query
  • Accurate response depends on node synchronization
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

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

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
The protocol version, represented as a string.

Response params

object
idinteger
jsonrpcstring
resultstring