Overview of Binance SDK capabilities
masterThe binance SDK provides a professional, TypeScript-supported interface for interacting with Binance services.
Key Features:
- REST API Support: Covers Binance Spot, Margin, Isolated Margin, Options, USDM & CoinM Futures.
- WebSocket Support: Event-driven messaging for all product groups (Spot, Margin, Portfolio, etc.) with smart persistence (automatic heartbeats, reconnection handling, and
listenKeymanagement). - Authentication: Supports HMAC, RSA, and Ed25519. Passing a private key as a secret allows the SDK to automatically detect and switch between RSA and Ed25519.
- Data Beautification: Optional automatic parsing of WebSocket events (e.g., converting one-letter keys to descriptive words and string-based floats to numbers) and REST responses.
- Environment Support: Works in Node.js and can be used in browser environments via the
distbundle.