burakoner / OKEx.Net

Open source .Net API wrapper for the @OKEx V5 Rest API and V5 Websocket API
MIT License
86 stars 48 forks source link

Incorrect URLs for some endpoints #54

Closed GeorgeF0 closed 2 years ago

GeorgeF0 commented 2 years ago

Hi! I'm not sure if some endpoints changed their URL at some point, but they now seem to be different than what's in the code. For example:

Endpoint Client Code OKX Documentation
Get sub-account balance api/v5/users/subaccount/balances /api/v5/account/subaccount/balances
History of sub-account transfer api/v5/users/subaccount/bills /api/v5/asset/subaccount/bills
Master accounts manage the transfers between sub-accounts api/v5/users/subaccount/transfer /api/v5/asset/subaccount/transfer

There may be others. Requesting these endpoints from the client returns a 404.

burakoner commented 2 years ago

Fixed in 5.2.4 and 5.2.5