started · updated
Sui launches GraphQL Subscriptions for real-time Mainnet data
The Sui Mainnet has officially launched GraphQL Subscriptions, allowing developers to stream real-time blockchain data through a unified interface. This feature enables the continuous reception of checkpoints, transaction blocks, and events without the need for repetitive data polling.
A key technical advantage is the ability to perform cursor-based backfilling. If a connection is interrupted, developers can use a past cursor to retrieve missed data before seamlessly transitioning back to a live feed. This ensures a continuous data flow and eliminates the need to manage separate tools for historical and real-time data.
While Sui continues to offer gRPC for high-performance, low-level integrations, GraphQL Subscriptions provide a more flexible, human-readable option for applications such as wallets, explorers, and monitoring services. The feature is currently available on both the Mainnet and Testnet.