public JObject NetworkList(MetadataRequest request)
        {
            NetworkIdentifier   networkIdentifier   = new NetworkIdentifier("neo n3", network);
            NetworkListResponse networkListResponse = new NetworkListResponse(new NetworkIdentifier[] { networkIdentifier });

            return(networkListResponse.ToJson());
        }
        public JObject NetworkList(MetadataRequest request)
        {
            var magic   = ProtocolSettings.Default.Magic;
            var network = magic == 7630401 ? "mainnet" : magic == 1953787457 ? "testnet" : "privatenet";
            NetworkIdentifier   networkIdentifier   = new NetworkIdentifier("neo", network);
            NetworkListResponse networkListResponse = new NetworkListResponse(new NetworkIdentifier[] { networkIdentifier });

            return(networkListResponse.ToJson());
        }