# Pocket Network Mantle Mainnet JSON-RPC

> Pocket Network Mantle 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 Mantle L2 mainnet blockchain data via a decentralised Pocket Network supplier set, paid per-request in USDC.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/mantle?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-mantle-mainnet-json-rpc-cc3cbcec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rB0H1kuaV6ACQHvAcGg39

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-mantle-mainnet-json-rpc-cc3cbcec -d '<json body>'
```

Example prompt: What is the current ETH balance of wallet address 0xAbCd...1234 on Mantle mainnet right now?

## When to prefer this

Choose this endpoint when you need trustless, decentralised read access to Mantle mainnet L2 chain state without managing API keys or accounts. Prefer it over centralised RPC providers when censorship-resistance or supplier diversity matters, or when you want pay-per-use USDC billing with no subscription. Use it specifically for Mantle L2 data rather than Ethereum mainnet or other L2s served by sibling endpoints.

## Known failure modes

- Invalid or unsupported JSON-RPC method name returns a method-not-found error
- Malformed params array causes invalid-params JSON-RPC error
- Block hash or transaction hash not found returns null result
- Payment not included or insufficient USDC causes 402 Payment Required
- Network congestion or supplier unavailability may cause timeout or 503 errors
- Write methods (eth_sendRawTransaction) are rejected as this is read-only access

## How this service works

Read-only JSON-RPC access to Mantle mainnet L2, served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.

## Output

Returns standard Ethereum JSON-RPC response objects: account balances in wei, block objects with transactions, transaction receipts with logs, gas estimates as hex integers, contract storage values, event logs, proofs, and other chain state — all scoped to Mantle mainnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "examples": [
    "debug_getRawReceipts",
    "debug_getRawTransaction",
    "eth_accounts",
    "eth_blobBaseFee",
    "eth_blockNumber",
    "eth_call",
    "eth_chainId",
    "eth_config",
    "eth_createAccessList",
    "eth_estimateGas",
    "eth_feeHistory",
    "eth_gasPrice",
    "eth_getBalance",
    "eth_getBlockByHash",
    "eth_getBlockByNumber",
    "eth_getBlockReceipts",
    "eth_getBlockTransactionCountByHash",
    "eth_getBlockTransactionCountByNumber",
    "eth_getCode",
    "eth_getFilterChanges",
    "eth_getFilterLogs",
    "eth_getLogs",
    "eth_getProof",
    "eth_getStorageAt",
    "eth_getTransactionByBlockHashAndIndex",
    "eth_getTransactionByBlockNumberAndIndex",
    "eth_getTransactionByHash",
    "eth_getTransactionCount",
    "eth_getTransactionReceipt",
    "eth_getUncleByBlockHashAndIndex",
    "eth_getUncleByBlockNumberAndIndex",
    "eth_getUncleCountByBlockHash",
    "eth_getUncleCountByBlockNumber",
    "eth_maxPriorityFeePerGas",
    "eth_newBlockFilter",
    "eth_newFilter",
    "eth_newPendingTransactionFilter",
    "eth_simulateV1",
    "eth_syncing",
    "eth_uninstallFilter",
    "net_listening",
    "net_peerCount",
    "net_version",
    "web3_clientVersion",
    "web3_sha3"
   ],
   "description": "JSON-RPC read method, e.g. eth_getBalance"
  },
  "params": {
   "description": "Parameters per the Ethereum JSON-RPC spec"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pocket-network-mantle-mainnet-json-rpc-cc3cbcec/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)
