net_version

Returns the current network ID.

Parameters

None.


Returns

network ID: A string representing the current network ID.


Example

Request

curl -X POST https://testnet.1money.network \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "net_version", "params": [], "id": 1}'

Response

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

Last updated