Returns the current network id.
Parameters
none
Returns
String - The current network id.
String
"88": Viction Mainnet
"88"
"89": Viction Testnet
"89"
Successful Operation
const response = await fetch('https://tomo.nownodes.io/version', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "jsonrpc": "2.0", "method": "net_version", "params": [], "id": 67 }), }); const data = await response.json();