Expand description
WebSocket support for real-time mempool data.
This module provides WebSocket connectivity for receiving real-time updates from mempool.space.
Structs§
- Address
TxEvent - Address transaction event.
- Block
Event - Block event data.
- Mempool
Info Event - Mempool info event.
- Mempool
WsClient - WebSocket client for real-time mempool data.
- TxConfirmed
Event - Transaction confirmed event.
- WsClient
State - WebSocket client state (simulated - actual WebSocket requires additional deps).
- WsSubscription
- WebSocket subscription configuration.
- WsSubscription
Builder - Builder for WebSocket subscriptions.
Enums§
- WsConnection
Status - WebSocket connection status.
- WsEvent
- WebSocket event types.
Constants§
- MAINNET_
WS_ URL - WebSocket endpoint URLs.
- SIGNET_
WS_ URL - Signet WebSocket URL.
- TESTNET_
WS_ URL - Testnet WebSocket URL.