POST
/
2fc1de7f08c0465f6a28e3c355e0cb14
curl --request POST \
  --url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "eth_protocolVersion",
  "id": 1
}'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}

Base API method that returns the protocol version of the node. The protocol version is a string that identifies the version of the Base protocol that the node is running.

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • none

Response

  • result — a string specifying the Base protocol version that the node is using.

Use case

The eth_protocolVersion method is useful for applications that need to verify the protocol version of the node they’re connecting to. This can be important for compatibility checks and ensuring that the node supports the features required by the application.

Body

application/json

Response

200 - application/json
The current ethereum protocol version

The response is of type object.