# Pocket Network TRON Mainnet RPC Gateway

> Pocket Network TRON Mainnet RPC Gateway 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 access to TRON mainnet via both Ethereum-compatible JSON-RPC methods and native TRON HTTP API endpoints, routed through the Pocket Network decentralised supplier set.

## Facts

- Endpoint: POST https://agent.pocket.network/v1/tron?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-tron-mainnet-rpc-gateway-525a826d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3yYxEBihsT1Sl0ATV30Hc

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-tron-mainnet-rpc-gateway-525a826d -d '<json body>'
```

Example prompt: Look up the current TRON account details and resource info for address TJYQAiHoFvKEj8yNvtirSCDJbKbfv2kqkZ on TRON mainnet, and tell me its available bandwidth and energy.

## When to prefer this

Choose this endpoint when you need read-only TRON mainnet data and want decentralised infrastructure (no API key, pay-per-request in USDC via x402), or when you need both native TRON HTTP API methods and Ethereum-compatible JSON-RPC access to TRON in a single gateway. Prefer this over centralised TRON node providers when censorship-resistance or no-account access matters.

## Known failure modes

- Invalid or malformed TRON address returns an error or empty result
- Unknown transaction ID returns null result
- Unsupported method name returns JSON-RPC error
- Payment not included or insufficient USDC causes 402 Payment Required
- Rate limits or supplier unavailability may cause transient 5xx errors
- Calling write/broadcast methods (not supported in read-only mode) will be rejected

## How this service works

Read-only access to TRON mainnet on two surfaces: the Ethereum-compatible JSON-RPC methods (POST the JSON-RPC body) and the TRON HTTP API (POST /wallet/... with a JSON body). Served by the Pocket Network decentralised supplier set. Pay per request in USDC; no account, no API key.

## Output

Returns a JSON response containing the requested TRON or Ethereum-compatible data — such as account balances, resource limits, block contents, transaction details, contract state, energy/bandwidth pricing, chain parameters, witness lists, or exchange info — depending on the method called. ETH JSON-RPC methods return standard Ethereum-format responses (hex-encoded values, standard RPC envelope).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string",
   "examples": [
    "POST /wallet/estimateenergy",
    "POST /wallet/getaccount",
    "POST /wallet/getaccountnet",
    "POST /wallet/getaccountresource",
    "POST /wallet/getassetissuebyid",
    "POST /wallet/getassetissuebyname",
    "POST /wallet/getassetissuelist",
    "POST /wallet/getavailableunfreezecount",
    "POST /wallet/getbandwidthprices",
    "POST /wallet/getblock",
    "POST /wallet/getblockbyid",
    "POST /wallet/getblockbylatestnum",
    "POST /wallet/getblockbylimitnext",
    "POST /wallet/getblockbynum",
    "POST /wallet/getburntrx",
    "POST /wallet/getcandelegatedmaxsize",
    "POST /wallet/getcanwithdrawunfreezeamount",
    "POST /wallet/getchainparameters",
    "POST /wallet/getcontract",
    "POST /wallet/getcontractinfo",
    "POST /wallet/getdelegatedresourceaccountindexv2",
    "POST /wallet/getdelegatedresourcev2",
    "POST /wallet/getenergyprices",
    "POST /wallet/getexchangebyid",
    "POST /wallet/getmarketpairlist",
    "POST /wallet/getnextmaintenancetime",
    "POST /wallet/getnodeinfo",
    "POST /wallet/getnowblock",
    "POST /wallet/getpaginatedassetissuelist",
    "POST /wallet/getproposalbyid",
    "POST /wallet/gettransactionbyid",
    "POST /wallet/gettransactioninfobyblocknum",
    "POST /wallet/gettransactioninfobyid",
    "POST /wallet/listexchanges",
    "POST /wallet/listnodes",
    "POST /wallet/listproposals",
    "POST /wallet/listwitnesses",
    "POST /wallet/triggerconstantcontract",
    "POST /wallet/validateaddress",
    "POST /walletsolidity/getaccount",
    "POST /walletsolidity/getnowblock",
    "POST /walletsolidity/gettransactionbyid",
    "POST /walletsolidity/gettransactioninfobyid",
    "eth_accounts",
    "eth_blockNumber",
    "eth_call",
    "eth_chainId",
    "eth_coinbase",
    "eth_estimateGas",
    "eth_gasPrice",
    "eth_getBalance",
    "eth_getBlockByHash",
    "eth_getBlockByNumber",
    "eth_getBlockTransactionCountByHash",
    "eth_getBlockTransactionCountByNumber",
    "eth_getCode",
    "eth_getFilterChanges",
    "eth_getFilterLogs",
    "eth_getLogs",
    "eth_getStorageAt",
    "eth_getTransactionByBlockHashAndIndex",
    "eth_getTransactionByBlockNumberAndIndex",
    "eth_getTransactionByHash",
    "eth_getTransactionReceipt",
    "eth_newBlockFilter",
    "eth_newFilter",
    "eth_protocolVersion",
    "eth_syncing",
    "eth_uninstallFilter",
    "net_listening",
    "net_peerCount",
    "net_
… (truncated)
```

## Response schema (JSON Schema)

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

## More

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