Official SDKs
ChainStream provides official SDKs in multiple languages, wrapping common API operations for a better development experience.TypeScript
For Node.js and browser applications
Python
For data analysis and backend services
Go
For high-performance backend services
Rust
For systems programming and performance-critical applications
SDK Features
All SDKs provide:- REST API Client: Call all ChainStream data APIs
- WebSocket Client: Subscribe to real-time data streams
- Auto Authentication: Automatic token management
- Type Safety: Full type definitions (TypeScript, Go, Rust)
Installation
- TypeScript
- Python
- Go
- Rust
Quick Comparison
- TypeScript
- Python
- Go
- Rust
SDK vs Direct API
| Feature | SDK | Direct API |
|---|---|---|
| Type Safety | Yes (TS/Go/Rust) | No |
| Auth Management | Automatic | Manual |
| Error Handling | Wrapped | Raw HTTP errors |
| WebSocket | Built-in | Manual implementation |
| Code Volume | Less | More |
| Flexibility | Medium | Full |

