net_version
Returns the current network/chain ID as a string.
Parameters
Returns
Request
{
"jsonrpc": "2.0",
"method": "net_version",
"params": [],
"id": 1
}curl https://rpc.dysnomia.icu -H "Content-Type: application/json" --data ''Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "1"
}Last updated