binance-connector-typescript
binance-connector-typescript copied to clipboard
Wrong endpoints for creating stream listenKey for margin accounts
I think there is a mistake with the url for 'createMarginListenKey'. The url is now set to '/api/v1/userDataStream', when it should be '/sapi/v1/userDataStream'
Assuming this method is for creating listenKey for margin accounts as described here: https://binance-docs.github.io/apidocs/spot/en/#listen-key-margin