SUI launches GraphQL subscriptions for real-time data on Mainnet

1 hour ago 1



Sui just flipped the switch on GraphQL subscriptions for its Mainnet, giving developers a way to stream real-time blockchain data, including checkpoints, transaction blocks, and events, through a single unified interface. The feature uses WebSocket connections through the endpoint wss://sui-mainnet.mystenlabs.com/graphql, and comes with built-in capabilities like query-aligned filtering, automatic reconnection, and the ability to backfill from a past cursor before seamlessly transitioning to a live feed. From JSON-RPC to GraphQL: the full migration This launch is the final chapter in a migration away from JSON-RPC. Sui’s GraphQL RPC entered beta in 2025, became generally available in early 2026, and the legacy JSON-RPC system was fully phased out on Foundation nodes in late July 2026. Subscriptions take this a step further. Instead of polling the network repeatedly, apps open a persistent WebSocket connection and receive updates the moment they happen. How it works in practice The subscription system supports three core data types: checkpoints, transaction blocks, and events. Each can be filtered using GraphQL’s native query language, which means developers don’t have to pull down ...

Read Entire Article