Sui Network API Integration
Overview
Sui Network is supported by Pocket Network's enterprise-grade infrastructure with guaranteed uptime, global edge network, and developer-first tooling.
Network Information
| Property | Value |
|---|---|
| Network Name | Sui Network |
| Native Token | SUI |
| Pocket Service ID | sui |
| Block Explorer | SuiScan |
Supported APIs
| API | Documentation |
|---|---|
| Sui JSON-RPC API | view spec |
Integration Examples
Quick Setup with Sui SDK
// Using @mysten/sui.js
import { SuiClient, getFullnodeUrl } from '@mysten/sui.js/client';
const client = new SuiClient({
url: 'YOUR_ENDPOINT'
});
// Get latest checkpoint
const checkpoint = await client.getLatestCheckpointSequenceNumber();
console.log('Latest checkpoint:', checkpoint);
// Get account balance
const balance = await client.getBalance({
owner: '0x...' // Sui address
});
console.log('Balance:', balance);
Developer Resources
📚 Essential Links
🛠️ Tools & SDKs
💬 Community & Support
Public Endpoint
Free public RPC endpoint available with fair use limits. No API key required.