Stream Blockchain Data: WebSockets Are Here
Stop polling. Start streaming. Tatum WebSocket subscriptions push on-chain events to your app the instant they happen – over a single persistent connection, with no polling loops and no wasted requests.
Live now on Solana, Ethereum, and Polygon.
What you get
- Real-time push: events arrive as JSON the moment they land on-chain. No poll intervals, no empty responses.
- Server-side filtering: subscribe to exactly what you need; the server does the work, you save the bandwidth.
- Native everywhere: works in browsers and every major language. No special tooling.
Solana: 7 subscription types
Native JSON-RPC 2.0 PubSub: accountSubscribe, logsSubscribe, signatureSubscribe, programSubscribe, slotSubscribe, rootSubscribe, and blockSubscribe – account changes, transaction logs, signature confirmations, program updates, slot progression, roots, and blocks. Each accepts a commitment level (processed, confirmed, finalized).
Ethereum & Polygon: eth_subscribe
eth_subscribeThree subscription types via standard JSON-RPC PubSub, identical across both EVM chains:
newHeads: new block headers (~12s on Ethereum, ~2s on Polygon). Perfect for explorers and gas dashboards.newPendingTransactions: live mempool hashes for MEV and gas-estimation tooling (high volume — throttle client-side).logs: filtered smart-contract events by address and topics. Reorg-aware via theremovedflag.
WebSocket Endpoints
Read more about WebSockets
WebSockets vs. gRPC — pick the right real-time approach for your workload.
Concepts, subscription flow, and production best practices in one place.
Free account includes Mainnet and Testnet keys. Start streaming in minutes.
7 subscription types, end-to-end example, commitment levels, and troubleshooting.
newHeads, newPendingTransactions, and logs — with payloads and filter patterns.
Same eth_subscribe types with ~2s block cadence, plus full JSON-RPC on one socket.