본문으로 건너뛰기

Sui RPC용 GraphQL (베타)

⚙️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

정보

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

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

Sui RPC용 GraphQL을 시작하려면 Sui RPC용 GraphQL (베타) 문서를 확인한다.

GraphQL 서비스에서 사용되는 개념을 더 알아보려면 Sui RPC 개념 페이지인 Sui RPC용 GraphQL (베타)을 확인한다.

참조 문서를 보려면 schema를 확인한다.

정보

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

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

Key types

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

  • "Queries"는 체인 상태를 읽기 위한 모든 최상위 쿼리를 나열하며, address와 object에 대한 세부 정보를 읽는 것부터 dryRunTransactionBlock까지 포함하고, 이는 실행과 유사한 인터페이스를 가지지만 체인을 수정하지 않는다.
  • Object는 모든 온체인 object(Move 값과 패키지)를 나타내는 type이다.
  • Address는 계정 address에 해당하며, 이는 transaction에 서명하는 서명의 공개 키에서 파생되고, 이 계정이 소유한 object와 서명했거나 영향을 받은 transaction을 질의하는 데 사용할 수 있다. OwnerMoveObject를 소유할 수 있는 모든 entity를 나타내며, 소유자가 Object인지 Address인지 알 수 없는 경우를 처리한다.

예를 들면 Move object의 관점에서 자신의 owner를 볼 때가 여기에 해당한다.