API Reference

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" } }
Path Params
string
required
Body Params
string
Defaults to 2.0
string
Defaults to eth_protocolVersion
params
array of strings
params
int32
Defaults to 0
Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json