JSON-RPC Gateway
Drop-in replacement for Sui RPC nodes, powered by Inodra-managed infrastructure.
📌 JSON-RPC stays available on Inodra
Sui has deprecated JSON-RPC in favor of gRPC and GraphQL, and the public fullnodes no longer serve it. Inodra keeps serving the Sui JSON-RPC API on mainnet and testnet, with mainnet history back to genesis, as a service we run and maintain ourselves. Any change to its availability will be announced well in advance. New integrations may prefer gRPC or GraphQL, Sui's current interfaces. Background: Sui JSON-RPC is deprecated, Inodra still serves it.
Overview
Every read, query and transaction method in the official Sui JSON-RPC specification, with the responses the Sui fullnode returned. Subscriptions (suix_subscribeEvent, suix_subscribeTransaction) are not served, use Warp streams for real-time data. Replace your Sui node URL with Inodra's endpoint and add your API key.
Every method, with its params, result and an example: JSON-RPC Methods.
Endpoints: https://mainnet-api.inodra.com/v1/jsonrpc and https://testnet-api.inodra.com/v1/jsonrpc. The API key belongs to a project, and a project is tied to one network.
Batches: send a JSON array of requests to make up to 50 calls in one HTTP request. A batch counts as one request for rate limits and costs the sum of its calls in credits. If one item is not a valid JSON-RPC 2.0 request, the whole batch is rejected with one -32600 Invalid Request error.
Testnet history
Testnet search covers about the last 80 days
suix_queryTransactionBlocksandsuix_queryEventsreturn results from that window only. Older transactions and events of an address, sender or event type are not returned.- Lookups by ID work back to genesis: checkpoints, transactions and past object versions.
- Balances, coins and owned objects show the current state and are complete.
Mainnet has full history for all methods.
Quick Start
1. Update Your Client (SDK 2.0)
import { SuiJsonRpcClient, JsonRpcHTTPTransport } from '@mysten/sui/jsonRpc'
// Create transport with Inodra endpoint and API key
const transport = new JsonRpcHTTPTransport({
url: 'https://mainnet-api.inodra.com/v1/jsonrpc',
rpc: {
headers: { 'x-api-key': 'YOUR_API_KEY' }
}
})
const client = new SuiJsonRpcClient({
transport,
network: 'mainnet'
})2. Test Connection
// All JSON-RPC methods available
const checkpoint = await client.getLatestCheckpointSequenceNumber()
const balance = await client.getBalance({ owner: '0x123...' })The deprecation, in short
Sui deprecated JSON-RPC in favor of gRPC and GraphQL. The public Sui Foundation fullnodes stopped serving it in July 2026, and the JSON-RPC code is being removed from the Sui node software, so running your own node no longer keeps it. Legacy nodes that still answer can return incomplete data for anything older than their retention window, because the archival services they relied on are being retired.
What Inodra does:
- Serves every read, query and transaction method on mainnet and testnet
- Serves full history back to genesis on mainnet (testnet history is limited)
- Announces any change to JSON-RPC availability well in advance
If you want to migrate
JSON-RPC keeps working here, so a migration is your call and on your schedule:
- Keep your RPC calls in one service layer, so a later switch touches one place
- Read the migration guide when you are ready; it maps each JSON-RPC method to its gRPC equivalent
FAQ
What is the Sui JSON-RPC endpoint URL on Inodra?
https://mainnet-api.inodra.com/v1/jsonrpc for mainnet and https://testnet-api.inodra.com/v1/jsonrpc for testnet, with your API key in the x-api-key header.
Which Sui JSON-RPC methods does Inodra serve?
Every read, query and transaction method in the official Sui JSON-RPC specification, on mainnet and testnet, with mainnet history back to genesis. Subscriptions (suix_subscribeEvent, suix_subscribeTransaction) are not served; use Warp streams for real-time data.
Is Inodra's JSON-RPC gateway compatible with @mysten/sui?
Yes. It follows the Sui JSON-RPC specification, so SuiJsonRpcClient and existing tooling work unchanged once the URL and the x-api-key header are set. The one exception is subscriptions, which move to Warp streams.
🚀 Ready to try it?
Get your free API key and start making requests in under 2 minutes. The same key works for JSON-RPC, gRPC, and GraphQL.