# Pocket Network Sui Mainnet JSON-RPC

> Pocket Network Sui Mainnet JSON-RPC is a paid API for AI agents from agent.pocket.network, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-03).

Provides read-only JSON-RPC access to Sui mainnet blockchain data via the Pocket Network decentralised relay, pay-per-request in USDC with no API key required.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/sui?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pocket-network-sui-mainnet-json-rpc-5c3c677a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a5Rxkx3wxbNADf4OFwfbU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pocket-network-sui-mainnet-json-rpc-5c3c677a -d '<json body>'
```

Example prompt: Look up the SUI balance for address 0xabc123... on Sui mainnet and also grab the current reference gas price.

## When to prefer this

Choose this endpoint when you need permissionless, pay-per-request read access to Sui mainnet without managing API keys or subscriptions. It is ideal for agents that make sporadic or unpredictable call volumes, need decentralised infrastructure redundancy via Pocket Network's supplier set, and can pay USDC micropayments via x402. Prefer it over centralised RPC providers when censorship-resistance or no-account access matters.

## Known failure modes

- Invalid method name returns JSON-RPC error -32601 (method not found)
- Malformed params returns JSON-RPC error -32602 (invalid params)
- Object or transaction not found returns null result
- Insufficient USDC balance causes HTTP 402 payment required before relay
- Write methods (e.g. sui_executeTransactionBlock) are not supported — read-only relay
- Network congestion may increase latency on Pocket Network supplier set

## How this service works

Pay-per-call access to Pocket Network services. No account, no API key.

## Output

A JSON-RPC response containing the requested Sui mainnet data — e.g. object fields, balances, transaction effects, event lists, Move module definitions, validator stats, or checkpoint metadata — as specified by the Sui JSON-RPC 2.0 protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "examples": [
    "rpc.discover",
    "sui_devInspectTransactionBlock",
    "sui_dryRunTransactionBlock",
    "sui_getChainIdentifier",
    "sui_getCheckpoint",
    "sui_getCheckpoints",
    "sui_getEvents",
    "sui_getLatestCheckpointSequenceNumber",
    "sui_getMoveFunctionArgTypes",
    "sui_getNormalizedMoveFunction",
    "sui_getNormalizedMoveModule",
    "sui_getNormalizedMoveModulesByPackage",
    "sui_getNormalizedMoveStruct",
    "sui_getObject",
    "sui_getProtocolConfig",
    "sui_getTotalTransactionBlocks",
    "sui_getTransactionBlock",
    "sui_multiGetObjects",
    "sui_multiGetTransactionBlocks",
    "sui_tryGetPastObject",
    "sui_tryMultiGetPastObjects",
    "suix_getAllBalances",
    "suix_getAllCoins",
    "suix_getBalance",
    "suix_getCoinMetadata",
    "suix_getCoins",
    "suix_getCommitteeInfo",
    "suix_getDynamicFieldObject",
    "suix_getDynamicFields",
    "suix_getLatestSuiSystemState",
    "suix_getOwnedObjects",
    "suix_getReferenceGasPrice",
    "suix_getStakes",
    "suix_getStakesByIds",
    "suix_getTotalSupply",
    "suix_getValidatorsApy",
    "suix_queryEvents",
    "suix_queryTransactionBlocks",
    "suix_resolveNameServiceAddress",
    "suix_resolveNameServiceNames"
   ],
   "description": "JSON-RPC read method, e.g. sui_getObject"
  },
  "params": {
   "description": "Parameters per the Sui JSON-RPC spec"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": 1,
   "result": "35834a8a",
   "jsonrpc": "2.0"
  },
  "portal": {
   "serviceId": "sui",
   "provenance": "third-party-supplier",
   "schemaCheck": "passed"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-sui-mainnet-json-rpc-5c3c677a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.pocket.network](https://www.zero.xyz/host/agent.pocket.network/llms.txt)
