Pinax
    Standard Ethereum JSON-RPC 2.0
    Resources & endpoints
    node

    net_version

    Network version

    Returns the network ID as a decimal string (e.g. 1 for mainnet).
    POST
    https://eth.rpc.pinax.network/v1/<API_KEY>/

    Request body

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "net_version"
    }

    Response

    200 OK

    Decimal network ID string.

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