Returns the devp2p network ID.
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1 }'
{ "jsonrpc": "2.0", "result": "1", "id": 1 }
The response is of type object.
object
Was this page helpful?