Agentic Portal

TRON JSON-RPC and HTTP API

blockchain
Serving

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.

Endpoint
POST https://agent.pocket.network/v1/tron
Price per call
$0.005 USD
Networks payable on
Base (eip155:8453), Tempo (eip155:4217)
Protocol
jsonrpc, rest

Calling it

The first call returns 402 Payment Required with the terms. Sign for those terms and retry the same request with the payment attached.

Example request

A real, working call — the request the service card verifies against.

curl -X POST https://agent.pocket.network/v1/tron \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"eth_blockNumber","params":[]}'
Example response

The response this call returned, captured 2026-09-21 23:49:51 UTC.

{
  "portal": {
    "provenance": "third-party-supplier",
    "serviceId": "tron",
    "schemaCheck": "unchecked"
  },
  "data": {
    "jsonrpc": "2.0",
    "id": 2,
    "result": "0x5272f53"
  }
}

Try it

Make one real paid call from your own wallet — about $0.005 on Base (eip155:8453). The wallet signs; nothing here holds a key. You'll see exactly what the service answers.

No browser wallet found. Install MetaMask, Rabby, or Coinbase Wallet to try a call here.

Supported methods

Methods the registry lists for this service. The portal forwards any call as sent; the supplier decides what it answers, and a delivered answer is settled.

Methods TRON JSON-RPC and HTTP API accepts, and whether each reads or writes.
MethodEffect
POST /wallet/estimateenergyread
POST /wallet/getaccountread
POST /wallet/getaccountnetread
POST /wallet/getaccountresourceread
POST /wallet/getassetissuebyidread
POST /wallet/getassetissuebynameread
POST /wallet/getassetissuelistread
POST /wallet/getavailableunfreezecountread
POST /wallet/getbandwidthpricesread
POST /wallet/getblockread
POST /wallet/getblockbyidread
POST /wallet/getblockbylatestnumread
POST /wallet/getblockbylimitnextread
POST /wallet/getblockbynumread
POST /wallet/getburntrxread
POST /wallet/getcandelegatedmaxsizeread
POST /wallet/getcanwithdrawunfreezeamountread
POST /wallet/getchainparametersread
POST /wallet/getcontractread
POST /wallet/getcontractinforead
POST /wallet/getdelegatedresourceaccountindexv2read
POST /wallet/getdelegatedresourcev2read
POST /wallet/getenergypricesread
POST /wallet/getexchangebyidread
POST /wallet/getmarketpairlistread
POST /wallet/getnextmaintenancetimeread
POST /wallet/getnodeinforead
POST /wallet/getnowblockread
POST /wallet/getpaginatedassetissuelistread
POST /wallet/getproposalbyidread
POST /wallet/gettransactionbyidread
POST /wallet/gettransactioninfobyblocknumread
POST /wallet/gettransactioninfobyidread
POST /wallet/listexchangesread
POST /wallet/listnodesread
POST /wallet/listproposalsread
POST /wallet/listwitnessesread
POST /wallet/triggerconstantcontractread
POST /wallet/validateaddressread
POST /walletsolidity/getaccountread
POST /walletsolidity/getnowblockread
POST /walletsolidity/gettransactionbyidread
POST /walletsolidity/gettransactioninfobyidread
eth_accountsread
eth_blockNumberread
eth_callread
eth_chainIdread
eth_coinbaseread
eth_estimateGasread
eth_gasPriceread
eth_getBalanceread
eth_getBlockByHashread
eth_getBlockByNumberread
eth_getBlockTransactionCountByHashread
eth_getBlockTransactionCountByNumberread
eth_getCoderead
eth_getFilterChangesread
eth_getFilterLogsread
eth_getLogsread
eth_getStorageAtread
eth_getTransactionByBlockHashAndIndexread
eth_getTransactionByBlockNumberAndIndexread
eth_getTransactionByHashread
eth_getTransactionReceiptread
eth_newBlockFilterread
eth_newFilterread
eth_protocolVersionread
eth_syncingread
eth_uninstallFilterread
net_listeningread
net_peerCountread
net_versionread
web3_clientVersionread
web3_sha3read

Schemas

Published by the service itself. The example above is generated from these.

Request schema
{
  "type": "object",
  "description": "For JSON-RPC, the standard envelope (method, params) POSTed to the service root. For the HTTP API, POST the route's JSON body to /v1/tron/wallet/...; most read routes take an empty object or a single id/address field.",
  "properties": {
    "method": {
      "type": "string",
      "description": "JSON-RPC read method, e.g. eth_getBlockByNumber",
      "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_version",
        "web3_clientVersion",
        "web3_sha3"
      ]
    },
    "params": {
      "type": "array"
    }
  }
}
Response schema
{
  "type": "object",
  "description": "Depends on the route. A JSON-RPC call POSTed to the service root returns the JSON-RPC 2.0 envelope with `result` in the shape the (Ethereum- compatible) method defines. A POST to an HTTP API route under /wallet/ returns that route's own JSON per the TRON HTTP API specification.",
  "examples": [
    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": false
    }
  ]
}