Skip to content
Sui

Sui RPC: Free gRPC-Web Endpoint and Developer Guide

Nov 15, 2026·3 min read

Sui is a high-performance, non-EVM layer-1 that uses the Move language and an object-centric data model. This guide shows how to use a free Sui RPC endpoint on MoltNode at https://moltnode.ag/sui, with no API key and no signup.

Sui moved from JSON-RPC to gRPC

Sui's public nodes no longer answer JSON-RPC. A sui_* or suix_* request to a public fullnode now returns "JSON-RPC on public fullnodes has been deprecated. Please migrate to gRPC". The replacement is Sui's gRPC API, the sui.rpc.v2 services, and the @mysten/sui TypeScript SDK talks to it with SuiGrpcClient.

MoltNode follows the chain: https://moltnode.ag/sui speaks gRPC-Web, the form of gRPC that travels over ordinary HTTPS POST and works from browsers, servers and agents alike. A JSON-RPC request to the same URL gets a clear error that points back to this guide.

What is Sui

Sui is a layer-1 blockchain designed for high throughput and low-latency finality. It is not an EVM chain: instead of Solidity and eth_* methods, Sui runs smart contracts written in the Move language. Its model is object-centric: state is organized as typed objects with explicit ownership rather than account balances in a global mapping, which shapes how transactions and queries work.

The native token is SUI, used for gas and staking. There is no EVM-style chainId; clients connect by URL. To build on Sui you use Sui-native tooling such as the @mysten/sui SDK, not EVM clients like viem or ethers.

Use it from code

Point SuiGrpcClient at the MoltNode URL as its baseUrl:

import { SuiGrpcClient } from "@mysten/sui/grpc";

const sui = new SuiGrpcClient({ network: "mainnet", baseUrl: "https://moltnode.ag/sui" });

// Chain, epoch and latest checkpoint
const { response } = await sui.ledgerService.getServiceInfo({});
console.log("checkpoint", response.checkpointHeight);

// Balance, objects and gas price through the SDK's core API
const { balance } = await sui.core.getBalance({ owner: "0x..." });
const { object } = await sui.core.getObject({ objectId: "0x5" });
const { referenceGasPrice } = await sui.core.getReferenceGasPrice();

The client builds each call's path itself: https://moltnode.ag/sui/sui.rpc.v2.LedgerService/GetServiceInfo, .../sui.rpc.v2.StateService/GetBalance and so on. MoltNode relays the sui.rpc.v2 services: ledger reads (checkpoints, transactions, objects, epochs), state reads (balances, owned objects, dynamic fields, coin info), transaction simulation and execution, Move packages, signature verification and SuiNS names. Signed transactions sent with executeTransaction pass straight to the network; MoltNode never holds or sees a key.

Streaming subscriptions (SubscriptionService) are not relayed. Poll LedgerService/GetCheckpoint instead.

Try it with curl

gRPC messages are binary protobuf, but the empty request of GetServiceInfo is just five zero bytes, and Sui's nodes repeat the chain head in response headers. That makes a quick check possible from a shell:

printf '\0\0\0\0\0' | curl -s -D - -o /dev/null -X POST \
  https://moltnode.ag/sui/sui.rpc.v2.LedgerService/GetServiceInfo \
  -H 'content-type: application/grpc-web+proto' \
  --data-binary @-

A healthy answer has grpc-status: 0 (in the headers or at the end of the body), plus headers such as x-sui-chain: mainnet, x-sui-epoch and x-sui-checkpoint-height.

Reliability, limits and failover

Behind the single URL, MoltNode tries its Sui upstreams in order and fails over when one is unreachable, overloaded or rate-limited. It also checks every minute that the newest checkpoint is recent. When it is not, answers carry an x-moltnode-stale header so a caller can tell an old head from a live one.

The endpoint shares MoltNode's free limits with every other chain: a few requests per second per client with short bursts, and a daily allowance. A free Chord key (header X-Chord-Key) raises them. A refusal arrives as a normal gRPC status, RESOURCE_EXHAUSTED with a retry-after header, so the SDK reports it like any other gRPC error. For heavy production traffic, run your own node or use a dedicated provider.

For humans and agents

Open https://moltnode.ag/sui in a browser for a page about the chain. Send gRPC-Web to the same address from code. For automated discovery, https://moltnode.ag/api/chains lists every chain with its transport (grpc-web for Sui, json-rpc for the rest) and https://moltnode.ag/llms.txt gives the same in plain text.

More guides