# gRPC and GraphQL on Sui Mainnet

> Production gRPC and GraphQL on Sui mainnet, backed by full archival history.

Published 2026-06-19 · argos.sui, Cofounder · https://inodra.com/blog/grpc-graphql-mainnet

Today gRPC and GraphQL go live on Sui mainnet through Inodra. Both transports are in production. This is the path Sui is moving toward, and you can build on it now.

Inodra focuses its work on Sui. That focus is what lets us build the most Sui-native tooling for reading, streaming, and indexing chain data, with plenty more to follow.

**TL;DR:**
- **Mainnet:** node gRPC, archival gRPC, and GraphQL are live. The full Sui Data Stack.
- **Testnet:** node gRPC is live; archival gRPC and GraphQL are available on mainnet.
- One gRPC endpoint serves live data and full history, with explicit routing when you want it.

## Why gRPC and GraphQL, and why now

Sui [announced that JSON-RPC will be fully deactivated on July 31, 2026](https://blog.sui.io/graphql-archival-store-sui-data-stack/), with gRPC and GraphQL as the two migration paths. gRPC brings binary serialization, HTTP/2 streaming, and a typed schema. GraphQL brings flexible, indexed queries that fetch exactly the fields you ask for. Together they replace the surface that most Sui apps were built on.

A deprecation like this usually means a scramble. We wanted the opposite. Inodra already runs both transports in production today, so you can adopt gRPC and GraphQL now and migrate with room to spare instead of racing the deadline.

## The gRPC gateway

Our gRPC gateway speaks the full `sui.rpc.v2.*` surface. That covers the `LedgerService` for objects, transactions, checkpoints, and epochs, the `StateService` for owned objects, dynamic fields, and balances, the `TransactionExecutionService` for execute and simulate, plus the package, signature, and name services. Server reflection is on, so you can explore the API with `grpcurl` without downloading proto files first. Checkpoint streaming is available through `SubscribeCheckpoints` for live data straight off the tip.

Live data and full archival history sit behind a single gRPC endpoint. Requests route to the right backend on their own, and you can pin a request to the node or the archive explicitly when you need to. There is no second host to manage and no separate archival service to wire up.

Every call authenticates with your API key in the `x-api-key` metadata, scoped to your organization, project, and network.

```typescript
import { SuiGrpcClient } from "@mysten/sui/grpc";
import { GrpcTransport } from "@protobuf-ts/grpc-transport";
import { ChannelCredentials } from "@grpc/grpc-js";

const transport = new GrpcTransport({
  host: "mainnet-grpc.inodra.com:443",
  channelCredentials: ChannelCredentials.createSsl(),
  meta: { "x-api-key": "YOUR_API_KEY" },
});
const client = new SuiGrpcClient({ network: "mainnet", transport });

// Fetch SUI balance for an address
const { balance } = await client.getBalance({
  owner: "0x...",
  coinType: "0x2::sui::SUI",
});
console.log("Balance:", balance.balance);
```

## The GraphQL gateway

The GraphQL gateway supports all Sui standard queries. You get the flexible query model that GraphQL is known for without standing up an indexer of your own.

Live state and history both resolve from infrastructure we run and watch.

## More than two gateways

The gateways are the headline, and they sit inside a platform built specifically for Sui.

- **Warp Streams.** Real-time event, address, coin, and object streams over SSE or WebSocket, with the same source-level filtering as our webhooks.
- **Smart Webhooks.** Filtered delivery at the source, so only the events you care about reach your endpoint, signed with HMAC and retried with backoff.
- **Managed Custom Indexers.** Define the pipeline you need and we run it, then query the indexed results through a generated API. Your custom indexer without the infrastructure underneath it.

Every plan includes gRPC, GraphQL, JSON-RPC, webhooks, and Warp streams. The free tier is real infrastructure with one million credits a month and no credit card.

## What's next

Testnet node gRPC is live today, with archival gRPC and GraphQL landing soon, so you can run the same stack across environments. Several new features arrive over the coming weeks, and we are shipping them faster than any other Sui-focused platform.

## Get started

**Get your API key:** [Sign up](https://inodra.com/login?signup=true&returnTo=/dashboard/api-keys)

**Read the docs:** <a href="https://docs.inodra.com" target="_blank" rel="noopener noreferrer">docs.inodra.com</a> for the full gRPC, GraphQL, and migration reference

**Compare plans:** [Pricing](https://inodra.com/pricing), including hands-on migration support on every paid plan

**Join the community:** [Discord](https://dc.gg/inodra), where we answer questions daily. Current offer: use code JSON50 for 50% off your first month of any plan

**Have questions?** [Book a call](https://calendly.com/inodra), no sales pitch, just a conversation about what you're building

*- Argos, Inodra Team*

## Related posts

- [Best Sui RPC Providers in 2026](/blog/best-sui-rpc-providers) - who else serves Sui gRPC and GraphQL, and how the platforms compare
- [Indexer as a Service: Real-Time Sui Events](/blog/indexer-as-a-service) - webhooks, SSE, and WebSocket streams built on these gateways
- [The Sui JSON-RPC Shutdown: What Breaks, When, and How to Keep Your App Running](/blog/sui-json-rpc-shutdown-survival-guide) - the migration timeline and your options
- [Introducing Inodra](/blog/introducing-inodra) - why we built a Sui-only data layer and what ships with it