본문으로 건너뛰기

GraphQL for Sui RPC (Alpha)

⚙️Early-Stage Feature

This content describes an alpha/beta feature or service. These early stage features and services are in active development, so details are likely to change.

This feature or service is currently available in

  • Devnet
  • Testnet
  • Mainnet

Sui RPC용 GraphQL은 Sui 네트워크와 상호작용할 수 있게 해주는 공개 서비스이다.

Sui RPC용 GraphQL을 시작하려면 시작하기 가이드를 확인한다. GraphQL 서비스에서 사용되는 개념에 대해 더 알고 싶다면, Sui RPC 개념 페이지의 GraphQL을 확인한다.

정보

Refer to Access Sui Data for an overview of options to access Sui network data.

GraphQL schemas

정보

The GraphQL RPC release stage is currently in beta. Refer to the high-level timeline for releases in Access Sui Data.

Key types

모든 GraphQL API 요소는 왼쪽 사이드바를 통해 접근할 수 있으며, 다음은 탐색을 시작하기 좋은 항목들이다.

  • "Queries"는 체인 상태를 읽기 위한 모든 최상위 쿼리를 나열한다. address와 object에 대한 세부 정보를 읽는 것부터 dryRunTransactionBlock까지 포함하며, 이는 실행과 유사한 인터페이스를 가지지만 체인을 수정하지 않는다.
  • "Mutations"는 체인 상태를 수정할 수 있는 연산을 나열한다. 예를 들어 executeTransactionBlock이 있다.
  • Object는 모든 온체인 object(Move 값과 패키지)를 나타내는 타입이다.
  • Address는 계정 address(transaction에 서명하는 서명의 공개 키에서 파생됨)에 해당하며, 이 계정이 소유한 object와 서명했거나 영향을 받은 transaction을 쿼리하는 데 사용할 수 있다. OwnerMoveObject를 소유할 수 있는 모든 엔티티를 나타내며, 소유자가 Object인지 Address인지 알 수 없는 경우를 처리한다(예: Move object의 관점에서 자신의 소유자를 볼 때).
Querying Sui RPC with GraphQL

Introductory guide to making queries of the Sui RPC using the GraphQL service.

GraphQL for Sui RPC (Beta)

Use GraphQL to make Sui RPC calls. This feature is currently in Beta.

GraphQL and General-Purpose Indexer (Beta)

The GraphQL RPC Beta service offers a structured way for your clients to interact with data on the Sui blockchain. It accesses data processed by a general-purpose indexer and can connect to an archival store for historical network state.