Documentation Index
Fetch the complete documentation index at: https://docs.blockdb.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The WebSocket channel (beta) delivers real-time payloads as soon as BlockDB finalizes them — ideal for trading, monitoring, or alerting stacks that can’t wait for polling intervals. Events mirror the schemas in the data catalog and preserve_tracing_id so you can reconcile back to archives.

WebSocket delivery is currently in beta. For issues or throughput requirements, contact support@blockdb.io.
Endpoint & Authentication
| Environment | Protocol | Endpoint |
|---|---|---|
| Production | WSS | wss://api.blockdb.io/v1/evm/ |
Quickstart
1) Connect & subscribe
2) Server acknowledgement
3) Live update message
Every data payload follows this envelope:4) Unsubscribe
Stop a stream without closing the connection:Available Streams
Subscribe usingdataset_id — IDs match the data catalog and REST API identifiers.
| Dataset ID | Stream |
|---|---|
0101 | Blocks |
0102 | Transactions |
0103 | Logs |
0111 | Internal transactions |
0121 | Contracts |
0122 | Function results |
0201 | ERC-20 tokens |
0202 | ERC-721 tokens |
0203 | ERC-1155 tokens |
0211 | Liquidity pools |
0212 | Fee terms |
0301 | Reserves |
0302 | Swap prints |
0303 | Swap fees |
0304 | Token transfers |
0305 | Flash loan prints |
0404 | OHLC |
0405 | VWAP |
0501 | Fiat VWAP (USD) |
0601 | TVL USD |
0701 | Arb paths |
0702 | Arb path status |
0801 | Arb opportunities |
0411 | Yields |
Connection Behavior
| Behavior | Detail |
|---|---|
| Heartbeats | Server sends periodic ping frames. Respond with pong (most libraries handle this automatically). Connections idle for more than 60 s may be terminated. |
| Reconnection | On disconnect, implement exponential backoff before reconnecting. |
| Message ordering | Messages within a single stream are delivered in processing order. |
| Reorg handling | When a chain reorganization occurs, affected messages include "_is_reorg": true. Use _tracing_id to correlate with archive records. |
Full Reference
WSS Introduction
Protocol details: authentication, subscription lifecycle, and message format.
Quickstart
Full code examples in bash, Python, Node.js, Go, .NET, and C.
EVM Streams Overview
Complete stream matrix with links to per-dataset schema pages.
Protobuf (HFT)
Binary-encoded streams for latency-critical and high-frequency trading applications.