Closed MrElecmen closed 1 year ago
var wallet = new Wallet(httpClient: _httpClient, apiKey: user.BinanceApiKey, apiSecret: user.BinanceApiSecret); string userassets = string.Empty; try { userassets = await wallet.UserAsset(); } catch (Exception exception) { throw new Exception(exception.Message); }
Result should be successfull
Exception : Timestamp for this request was 1000ms ahead of the server's time.
.NET Framework 6.0.x
Windows
No response
Please sync your local time. If you are working on Linux server, http://www.ntp.org/ is a very popular tool for that.
Reproduction steps
var wallet = new Wallet(httpClient: _httpClient, apiKey: user.BinanceApiKey, apiSecret: user.BinanceApiSecret); string userassets = string.Empty; try { userassets = await wallet.UserAsset(); } catch (Exception exception) { throw new Exception(exception.Message); }
Expected behavior
Result should be successfull
Actual Behavior
Exception : Timestamp for this request was 1000ms ahead of the server's time.
.NET version
.NET Framework 6.0.x
Operating system
Windows
Environment
No response
dotnet --info
No response