net_version

Returns the current network protocol version.

Parameters

None

Returns

  • String - The current network protocol version

Example

Request

curl --data '{"method":"net_version","params":[],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8645

Response

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "8995"
}