blockchain

TRON JSON-RPC and HTTP API

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.

post/v1/tron

Request

  • Base URL: https://agent.pocket.network
  • URL: https://agent.pocket.network/v1/tron
  • Auth: none required

Request body

methodstring

JSON-RPC read method, e.g. eth_getBlockByNumber

Response

The upstream response, served after payment settles.

object required

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.

Changes

No recorded changes to this operation across all 1 revision of this API.