Use the Sui Full Node gRPC API for typed access to checkpoints, transactions, objects and balances. The public endpoint is useful for initial testing; add an API key for authenticated application traffic.
grpcurl -v \
-d '{
"sequence_number": "299599072",
"read_mask": {
"paths": ["transactions"]
}
}' \
sui.api.onfinality.io:443 \
sui.rpc.v2.LedgerService/GetCheckpointgrpcurl -v \
-H "api-key: YOUR_API_KEY" \
-d '{
"sequence_number": "299599072",
"read_mask": {
"paths": ["transactions"]
}
}' \
sui.api.onfinality.io:443 \
sui.rpc.v2.LedgerService/GetCheckpointgrpcurl sui.api.onfinality.io:443 sui.rpc.v2.LedgerService/GetServiceInfoSui has deprecated Full Node JSON-RPC in favour of gRPC and GraphQL. Use gRPC for new integrations and migrate existing JSON-RPC applications as part of your upgrade path.
Sui gRPC exposes typed services for reading ledger state, querying objects and Move packages, executing transactions, and consuming live blockchain data from a Sui Full Node.
GetServiceInfo
GetObject
BatchGetObjects
GetTransaction
BatchGetTransactions
GetCheckpoint
GetEpoch
ListCheckpoints
ListTransactions
ListEventsListDynamicFields
ListOwnedObjects
GetCoinInfo
GetBalance
ListBalancesSubscribeCheckpoints
SubscribeTransactions
SubscribeEventsExecuteTransaction
SimulateTransactionGetPackage
GetDatatype
GetFunction
ListPackageVersionsLookupName
ReverseLookupNameVerifySignatureUse SubscriptionService streams to receive checkpoints, transactions, and events as they are produced. Streaming avoids repeatedly polling HTTP endpoints for applications that need live Sui activity.
SubscribeCheckpoints
SubscribeTransactions
SubscribeEventsThese typed streams provide the gRPC equivalents of the legacy sui_subscribeEvent and sui_subscribeTransaction workflows.
Field masks let clients request only the response fields they need. This keeps responses focused and helps applications control payload size when querying detailed checkpoints, transactions, and objects.
{
"sequence_number": "299599072",
"read_mask": {
"paths": ["transactions"]
}
}Existing applications can continue using Sui JSON-RPC while they migrate. The legacy endpoint remains useful for compatibility, but new Sui integrations should prefer gRPC or GraphQL as the network moves away from Full Node JSON-RPC.
curl -H 'Content-Type: application/json' \
-d '{
"jsonrpc":"2.0",
"id":1,
"method":"sui_getTotalTransactionBlocks"
}' \
'https://sui.api.onfinality.io/public'Replace legacy method calls with typed gRPC service methods as you update clients, indexers, wallets, and backend services.
| Sui JSON-RPC | Sui gRPC |
|---|---|
sui_getObject | LedgerService.GetObject |
sui_getTransactionBlock | LedgerService.GetTransaction |
suix_queryTransactionBlocks | LedgerService.ListTransactions |
suix_queryEvents | LedgerService.ListEvents |
sui_subscribeEvent | SubscriptionService.SubscribeEvents |
sui_subscribeTransaction | SubscriptionService.SubscribeTransactions |
sui_executeTransactionBlock | TransactionExecutionService.ExecuteTransaction |
sui_dryRunTransactionBlock | TransactionExecutionService.SimulateTransaction |
Query balances, objects, transactions, and live activity for Sui wallets, custody systems, and exchange workflows.
Combine ledger queries, field masks, and subscriptions to build Sui datasets, explorers, search, and analytics pipelines.
Read object and balance state, simulate transactions, execute signed transactions, and stream protocol activity for DeFi products.
Use Sui's object-centric model and real-time streams for game assets, social features, digital collectibles, and consumer experiences.
Use typed gRPC responses and streaming services to feed operational systems, monitoring, reporting, and data products without running a full node.
| Environment | Mainnet | Testnet |
|---|---|---|
| Network | Sui Mainnet | Sui Testnet |
| gRPC | Supported | Supported |
| JSON-RPC | Legacy | Legacy |
| Environment | Production | Development / QA |
| Best for | Live applications | Testing and staging |
Use OnFinality's Sui Mainnet RPC APIs to connect wallets, dApps, dashboards, bots, and backend services without operating your own node from day one.
Start with the Sui Mainnet public RPC endpoint for lightweight checks, prototypes, and quick integration tests.
Move production traffic to authenticated endpoints when you need clearer limits, analytics, and operational visibility.
Query Sui Mainnet blocks, transactions, balances, events, and chain state through HTTPS JSON-RPC workflows.
Production teams need more than an endpoint URL. They need observability, predictable capacity, and a path from shared RPC access to isolated infrastructure.
Track usage patterns and response activity so your team can understand traffic growth before it becomes an incident.
Use dedicated Sui Mainnet nodes when your workload needs isolated resources, custom operations, or stronger capacity planning.
Plan for archive access when analytics, audits, indexers, or advanced app features need older Sui Mainnet state.
Different Sui Mainnet products need different infrastructure. OnFinality gives teams a practical path from public RPC testing to production-grade API and node operations.
Use public RPC for simple reads, connection checks, and early experiments where strict performance guarantees are not required.
Use authenticated API endpoints when users depend on stable request handling, monitoring, and scalable access.
Use dedicated nodes for sustained traffic, latency-sensitive services, validator tooling, exchange systems, and indexing pipelines.
OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.
Get Started