{
  "serviceId": "tron",
  "displayName": "TRON JSON-RPC and HTTP API",
  "description": "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.",
  "category": "blockchain",
  "resourceUrl": "https://agent.pocket.network/v1/tron",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "protocols": [
    "jsonrpc",
    "rest"
  ],
  "inputSchema": {
    "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"
      }
    }
  },
  "outputSchema": {
    "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
      }
    ]
  },
  "methods": {
    "POST /wallet/estimateenergy": "read",
    "POST /wallet/getaccount": "read",
    "POST /wallet/getaccountnet": "read",
    "POST /wallet/getaccountresource": "read",
    "POST /wallet/getassetissuebyid": "read",
    "POST /wallet/getassetissuebyname": "read",
    "POST /wallet/getassetissuelist": "read",
    "POST /wallet/getavailableunfreezecount": "read",
    "POST /wallet/getbandwidthprices": "read",
    "POST /wallet/getblock": "read",
    "POST /wallet/getblockbyid": "read",
    "POST /wallet/getblockbylatestnum": "read",
    "POST /wallet/getblockbylimitnext": "read",
    "POST /wallet/getblockbynum": "read",
    "POST /wallet/getburntrx": "read",
    "POST /wallet/getcandelegatedmaxsize": "read",
    "POST /wallet/getcanwithdrawunfreezeamount": "read",
    "POST /wallet/getchainparameters": "read",
    "POST /wallet/getcontract": "read",
    "POST /wallet/getcontractinfo": "read",
    "POST /wallet/getdelegatedresourceaccountindexv2": "read",
    "POST /wallet/getdelegatedresourcev2": "read",
    "POST /wallet/getenergyprices": "read",
    "POST /wallet/getexchangebyid": "read",
    "POST /wallet/getmarketpairlist": "read",
    "POST /wallet/getnextmaintenancetime": "read",
    "POST /wallet/getnodeinfo": "read",
    "POST /wallet/getnowblock": "read",
    "POST /wallet/getpaginatedassetissuelist": "read",
    "POST /wallet/getproposalbyid": "read",
    "POST /wallet/gettransactionbyid": "read",
    "POST /wallet/gettransactioninfobyblocknum": "read",
    "POST /wallet/gettransactioninfobyid": "read",
    "POST /wallet/listexchanges": "read",
    "POST /wallet/listnodes": "read",
    "POST /wallet/listproposals": "read",
    "POST /wallet/listwitnesses": "read",
    "POST /wallet/triggerconstantcontract": "read",
    "POST /wallet/validateaddress": "read",
    "POST /walletsolidity/getaccount": "read",
    "POST /walletsolidity/getnowblock": "read",
    "POST /walletsolidity/gettransactionbyid": "read",
    "POST /walletsolidity/gettransactioninfobyid": "read",
    "eth_accounts": "read",
    "eth_blockNumber": "read",
    "eth_call": "read",
    "eth_chainId": "read",
    "eth_coinbase": "read",
    "eth_estimateGas": "read",
    "eth_gasPrice": "read",
    "eth_getBalance": "read",
    "eth_getBlockByHash": "read",
    "eth_getBlockByNumber": "read",
    "eth_getBlockTransactionCountByHash": "read",
    "eth_getBlockTransactionCountByNumber": "read",
    "eth_getCode": "read",
    "eth_getFilterChanges": "read",
    "eth_getFilterLogs": "read",
    "eth_getLogs": "read",
    "eth_getStorageAt": "read",
    "eth_getTransactionByBlockHashAndIndex": "read",
    "eth_getTransactionByBlockNumberAndIndex": "read",
    "eth_getTransactionByHash": "read",
    "eth_getTransactionReceipt": "read",
    "eth_newBlockFilter": "read",
    "eth_newFilter": "read",
    "eth_protocolVersion": "read",
    "eth_syncing": "read",
    "eth_uninstallFilter": "read",
    "net_listening": "read",
    "net_peerCount": "read",
    "net_version": "read",
    "web3_clientVersion": "read",
    "web3_sha3": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/tron",
  "descriptor": "https://agent.pocket.network/services/tron/descriptor.json"
}