eth_protocolVersion
Returns the current Ethereum protocol version.
Parameters
- No parameters required.
Returns
result
: string - The protocol version.
Example
Replace https://dataseed-testnet.helioschain.network
with your node RPC URL.
Request curl
curl https://dataseed-testnet.helioschain.network \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_protocolVersion", "params": [], "id": 1}'
JSON Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x3f"
}