💎 Ethereum
eth_protocolVersion

eth_protocolVersion RPC method

Returns

Returns the current Ethereum protocol version as hexadecimal.

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

Need RPC API keys?

Get 12.5M archival requests for free today.

Parameters

None

Request

POST https://<network>.chainnodes.org/YOUR-API-KEY
💡

Confusing? Ask blockchain developers in Chainnodes Telegram Chat (opens in a new tab)

Example

  • HTTPS POST Request with a JSON RPC call in the body
  • Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
  • You can use a different supported network by replacing mainnet
curl https://mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_protocolVersion","params":[],"id":1}'