Use this skill to run Sui JSON-RPC operations through uxc + JSON-RPC.
Reuse the uxc skill for shared execution and error-handling guidance.
uxc is installed and available in PATH.https://fullnode.mainnet.sui.io.This skill covers a safe read-first Sui JSON-RPC surface:
This skill does not cover:
unsafe_* transaction-building methodssui_executeTransactionBlockThis skill targets the public Sui fullnode endpoint:
https://fullnode.mainnet.sui.ioFor pubsub, use a Sui provider WebSocket endpoint that you have verified actually accepts JSON-RPC subscriptions. Do not assume the public HTTPS fullnode host automatically supports the same wss:// hostname for pubsub.
uxc JSON-RPC discovery depends on OpenRPC or rpc.discover. Sui exposes a discoverable method surface, so help-first flow works directly against the endpoint.
The default public endpoint used by this skill does not require authentication.
If a user later points the same workflow at a private Sui RPC provider, verify its auth model first before reusing this skill unchanged.
command -v sui-jsonrpc-cli uxc link sui-jsonrpc-cli https://fullnode.mainnet.sui.io
sui-jsonrpc-cli -hsui-jsonrpc-cli sui_getLatestCheckpointSequenceNumber -hsui-jsonrpc-cli sui_getCheckpoint -hsui-jsonrpc-cli sui_getObject -hsui-jsonrpc-cli sui_getChainIdentifiersui-jsonrpc-cli sui_getLatestCheckpointSequenceNumbersui-jsonrpc-cli suix_getReferenceGasPrice sui-jsonrpc-cli sui_getCheckpoint id=254502592
sui-jsonrpc-cli sui_getObject '{"object_id":"0x6"}'
uxc subscribe start directly for pubsub streams:uxc subscribe start wss:// suix_subscribeEvent '{"params":[{"Package":"0x2"}]}' --sink file:$HOME/.uxc/subscriptions/sui-events.ndjson uxc subscribe start wss:// suix_subscribeTransaction '{"params":[{"FromAddress":"0x..."}]}' --sink file:$HOME/.uxc/subscriptions/sui-transactions.ndjson uxc subscribe status uxc subscribe stop sui_getChainIdentifiersui_getLatestCheckpointSequenceNumbersui_getCheckpointsui_getObjectsuix_getReferenceGasPricesuix_getLatestSuiSystemStatesuix_subscribeEventsuix_subscribeTransaction--text.ok, kind, protocol, data, error.unsafe_* methods through this skill without explicit follow-up design and review.uxc subscribe start for pubsub methods; the fixed sui-jsonrpc-cli link is for normal request/response methods.wss:// endpoint.uxc bug.sui-jsonrpc-cli ... is equivalent to uxc https://fullnode.mainnet.sui.io ... .references/usage-patterns.md共 1 个版本