You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//init:
HTXRestClient restClient = new HTXRestClient();
restClient.SpotApi.SetApiCredentials(new ApiCredentials(key, secret));
// this working fine
var user = await restClient.SpotApi.Account.GetUserIdAsync();
Debug.Log(user.Data);
// this returns valid user id
var acc = await restClient.SpotApi.Account.GetAccountsAsync();
var account = acc.Data.First();
Debug.Log($"account id:{account.Id} status: {account.Status} type:{account.Type}");
// returns account id:XXXXXXXX status: Working type:Spot
var blc = await restClient.SpotApi.Account.GetAccountHistoryAsync(account.Id);
// blc.Data.Error.Message this returns error
**validation-constraints-required: Field is missing: account-id.**
why?
The text was updated successfully, but these errors were encountered:
Hi!
why?
The text was updated successfully, but these errors were encountered: