eth_protocolVersion - Linea(Not support)

Returns the current ethereum protocol version.

Parameters

none


Returns

String - The current ethereum protocol version.


Example

Request

curl --location 'https://linea-mainnet.unifra.io/v1/{api-key}' \
--header 'Content-Type: application/json' \
--data '{
    "jsonrpc": "2.0",
    "method": "eth_protocolVersion",
    "params": [],
    "id": 0
}'

Result

{
    "jsonrpc": "2.0",
    "id": 0,
    "error": {
        "code": -32601,
        "message": "the method eth_protocolVersion does not exist/is not available"
    }
}
Language
Click Try It! to start a request and see the response here!