accessing-data
OfficialRead Sui data correctly—no JSON-RPC.
AuthorMystenLabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents broken or outdated Sui data-access implementations by guiding you to the correct API surface for reading on-chain state, handling historical/pruned data, and avoiding deprecated JSON-RPC patterns.
Core Features & Use Cases
- Choose the right data surface (and switch correctly): select gRPC for low-latency real-time reads and streaming subscriptions, select GraphQL RPC for flexible composable queries and filtered/historical lookups, and use Archival routing when data has been pruned.
- Handle history and retention safely: explain that full-node gRPC does not fall back to archival, and show how GraphQL RPC routes supported point lookups to the Archival Store when operator-configured.
- Store large off-chain blobs the right way: route file/image/large JSON workflows to Walrus and store only the Walrus blob ID on-chain.
- Migration and correctness guardrails: enforce the “no JSON-RPC for new code” rule and map v1 method names/options to v2 Core API and GraphQL equivalents.
Quick Start
Ask the Skill: "I need to read X from Sui and may need historical versions—which API should I use and what client or query pattern do I follow?"
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: accessing-data Download link: https://github.com/MystenLabs/skills/archive/main.zip#accessing-data Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.