SUI

BlockPI now supports full-stack data services for SUI, including full nodes, archival services, and GraphQL services. For details on their respective applicable use cases, please refer to the official documentation.

Stack
API Endpoint Format
Data Range
Supported Region

Mainnet Full node

JSON-RPC: https://sui.blockpi.network/v1/rpc/<key>, gRPC: sui.blockpi.network, {token}

Pruned

EU, APAC

Mainnet Archive Service

gRPC: sui-archive.blockpi.network, {token}

Archive

EU, APAC

Mainnet GraphQL

GraphQL: https://sui.blockpi.network/v1/graphql/<key>

Latest 90 days

EU, APAC

Testnet Full node

JSON-RPC: https://sui-testnet.blockpi.network/v1/rpc/<key>, gRPC: sui-testnet.blockpi.network, {token}

Pruned

EU, APAC

Since the archival data is within an individual service, users need to create a separate network endpoint with the name “SUI Mainnet Archive”. While the endpoints for the full node (gRPC or deprecated JSON-RPC) and the GraphQL are within "SUI Mainnet". Check out the above table and the figure below.

Please note that JSON-RPC APIs are only for pruned data and can only be used with a full node endpoint. Users requiring archival data should create a SUI Mainnet Archive endpoint and use gRPC.

SUI has announced plans to deprecate the JSON-RPC API. Please refer to the official SUI announcement for the specific timeline. As an official partner, BlockPI will align with SUI’s plan to phase out JSON-RPC support.

Please see the example in Best Practicesto use gRPC in SUI SDK

Last updated

Was this helpful?