here is my code
var client = new RestClient(“https://api.binance.com”);
String parameters = “symbol=” + simvol + “×tamp=” + Utils.GenerateTimeStamp(DateTime.Now.ToUniversalTime());
HMACSHA256 encryptor = new HMACSHA256();
encryptor.Key = Encoding.ASCII.GetBytes(Key.getSecret());
String sign = BitConverter.ToString(encryptor.ComputeHash(Encoding.ASCII.GetBytes(parameters))).Replace("-", “”);
parameters += “&signature=” + sign;
var request = new RestRequest("/fapi/v1/userTrades?" + parameters, Method.Get);
request.AddHeader(“X-MBX-APIKEY”, Key.getKey());
var response = client.Execute(request);
Console.WriteLine(response.Content);
String json = response.Content.ToString();
gives this error
404 Not Found404 Not Found
nginx
request for spot /api/v1/myTrades works correctly and gives information, but for futures it gives an error (