feat(v3.5.0, #653): add support for Binance USDM Futures base URL split & migration - #654
Merged
Conversation
added 8 commits
March 10, 2026 12:00
This was referenced Mar 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Base URL Split & Migration
On 06/03/2026, Binance announced a routing upgrade to their USDM Futures WebSocket System, titled: "Binance USDⓈ-M Futures WebSocket System Upgrade Notice (2026-03-06)".
Key Highlights:
Binance JavaScript SDK Support
All three dedicated WebSocket base URLs are supported. Each with their own unique WsKey, used to track each unique connection.
Continue to subscribe to market data as before with the dedicated subscribe method, but ensure to provide the connection key depending on the type of market data you are consuming.
Minimal examples:
Legacy
wsClient.subscribe*()methodsIf you're using any of the per-topic convenience methods, such as
wsClient.subscribeAggregateTrades(...), no change is required. The SDK will automatically route the topic subscription request to the appropriate WS URL.Further Reading
For detailed examples, refer to the examples in this folder, as well as the following documentation:
Additional Information
PR Checklist
As part of the PR, make sure you have:
npm installruns without issue.npm run buildruns without issue.