← Back to Docs

WebSocket Examples

WebSocket Examples

Each example includes connection details, subscription messages, and AI prompts to help you get started with Turbostream.

Showing 12 of 45 examples

Ethereum — New Block Headers logo

Ethereum — New Block Headers

Get notified when Ethereum mines a new block.

blockchainethereumblocks+1
Ethereum — USDT Transfer Event Stream logo

Ethereum — USDT Transfer Event Stream

Real-time USDT transfer events from Ethereum logs. Higher volume than blocks; perfect for testing decoding + throttling.

blockchainethereumusdt+3
Ethereum — Mempool Firehose logo

Ethereum — Mempool Firehose

Stream pending tx hashes as they enter the mempool. Extremely high volume—ideal for stress-testing queues, drops, and sampling.

blockchainethereummempool+2
BGP Updates logo

BGP Updates

RIPE RIS Live WebSocket for BGP feed

networkingbgprouting+1
Crypto Prices logo

Crypto Prices

Real-time cryptocurrency price updates (e.g., from Binance or Chainlink sources)

prediction-marketspolymarketcrypto+1
Comments logo

Comments

Streams comment-related events like new comments or reactions on markets/events

prediction-marketspolymarketcomments+1
Activity (Filtered by Market) logo

Activity (Filtered by Market)

Platform market activity focused on trades for a specific market (via market_slug filter)

prediction-marketspolymarketactivity+1
Activity (Broad) logo

Activity (Broad)

Broader platform activity pulse covering various event types (e.g., all trades without filter)

prediction-marketspolymarketactivity+1
Solana Mainnet — Slot Updates logo

Solana Mainnet — Slot Updates

Live feed of Solana slots

blockchainsolanaslots+1
Solana Mainnet — Logs Stream logo

Solana Mainnet — Logs Stream

Live feed of Solana transaction logs

blockchainsolanalogs+1
Binance — Spot Market Trades logo

Binance — Spot Market Trades

Real-time trade stream for any Binance spot trading pair. No authentication required for public market data.
⚠️ Note: Binance WebSocket is not accessible from US IP addresses. If accessing from the US, use a VPN to connect from outside the United States.

cryptobinancetrades+2
Binance — Order Book Depth logo

Binance — Order Book Depth

Real-time order book updates for Binance trading pairs. Monitor bid/ask spreads and liquidity.
⚠️ Note: Binance WebSocket is not accessible from US IP addresses. If accessing from the US, use a VPN to connect from outside the United States.

cryptobinanceorderbook+2
Loading more...