返回到文章

采纳

编辑于

eth_protocolVersion

ethereumj
命令

eth_protocolVersion,返回当前以太坊协议的版本

参数:

  • none

返回:

  • String - The current ethereum protocol version

举例:

// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_protocolVersion","params":[],"id":67}'

// Result
{
  "id":67,
  "jsonrpc": "2.0",
  "result": "54"
}