ℹ️ Introduction To SUI Network RPCs and RPC Node Providers

Sui provides multiple ways for developers and users to access on-chain data and interact with its network. This is primarily done through Remote Procedure Call (RPC) interfaces and services hosted by various RPC node providers. These access mechanisms are available across Sui’s networks: Mainnet, Testnet, Devnet, and Localnet.


1. Accessing Sui Network Data

You can interact with the Sui network via:


2. JSON-RPC API

Sui’s JSON-RPC supports both real-time queries and historical lookups. However, historical data retention is subject to each node's pruning strategy. If a full node no longer retains the historical data, it will fall back to a Sui Foundation-managed key-value store for retrieval.

Example Use Cases:


3. GraphQL for Sui RPC (Alpha)

Sui also provides a GraphQL interface as a public RPC service. Still in alpha, this interface offers structured, efficient querying over chain state and is supported on Devnet, Testnet, and Mainnet.

Key Features: