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>"
}
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>"
}
none
result
— a string specifying the Base protocol version that the node is using.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.The current ethereum protocol version
The response is of type object
.
Was this page helpful?