Skip to content

eth_protocolVerrsion


Warning

This API is not yet implemented in this version of Zilliqa 2.0

Retrieve the ethereum protocol version number. zq2 nodes always return "0x41".

Example Request

curl -d '{
   "id": "1",
   "jsonrpc": "2.0",
   "method": "eth_protocolVersion",
   "params": [
]}' -H "Content-Type: application/json" -X POST "https://api.zq2-prototestnet.zilliqa.com/"

Example response

{"jsonrpc":"2.0","result":"0x41","id":"1"}

Arguments

Parameter Type Required Description
id string Required "1"
jsonrpc string Required "2.0"
method string Required "eth_protocolVersion"
params array Requred can be anything