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
- Check current protocol version on node
- Ensure compatibility with protocol updates
- Validate node is running expected protocol version
Constraints
- Requires network access to node
- Node must support protocol version query
- Accurate response depends on node synchronization
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"
}
'
Response
200
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x41"
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
The protocol version, represented as a string.Response params
object
idinteger
jsonrpcstring
resultstring