GraphQL
GraphQL provides a flexible way to query the Sui network. The GraphQL RPC Service reads data from the General-purpose Indexer's Postgres-compatible database, Archival Store and Service, and a full node. GraphQL RPC is an alternative to the gRPC API. The General-purpose Indexer is a scalable implementation of the custom indexing framework. The framework ingests data using the remote checkpoint store and full node RPCs. It lets you configure it to load different types of Sui network data into Postgres tables in parallel, improving data ingestion performance. You can also configure pruning for different tables to balance performance and cost.
GraphQL for Sui RPC
Use GraphQL to make Sui RPC calls.
Querying Data with GraphQL RPC
Practical guide to making queries of the Sui RPC using the GraphQL service, with examples for common tasks.
GraphQL Migration Cookbook
Side-by-side JSON-RPC to GraphQL migration examples for transaction lookups, event queries, checkpoint pagination, balance queries, and common data-access patterns.