Skip to main content

GraphQL for the Sui RPC

This section explains some of the common concepts when working with GraphQL, such as altering behavior using HTTP headers, re-using query snippets with variables and fragments, consuming paginated queries, and understanding and working within the limits enforced by the service.

For more details on GraphQL fundamentals, see the introductory documentation from GraphQL and GitHub.

  • GraphQL quick-start: Querying Sui RPC with GraphQL gets you started using GraphQL to query the Sui RPC for on-chain data.
  • GraphQL migration: Migrating to GraphQL guides you through migrating Sui RPC projects from JSON-RPC to GraphQL.
  • GraphQL reference: Auto-generated GraphQL reference for Sui RPC.