This repository demonstrates efficient real-time contract event listening using WebSockets with polling fallback for Stellar/Soroban RPC nodes. It includes capability check, graceful degradation, standardized event payloads, and optimized resource usage. Strong TypeScript implementation with clear fallback logic for restricted environments.