开发者

通过 HTTP 使用 Energy、Watchlist 与 Wallet

一个 HMAC 基址。Free 含 Energy Order API。Wallet Analyze 按次计费。Watchlist API 需 Pro 或 Enterprise。

三类 API 面

Energy 集成保持 Free。Wallet Analyze 按次计费。Watchlist 随 Pro 或 Enterprise 解锁。范围与 webhook 相同。

  • /api/v1/energyFree

    Energy Order API

    报价、预付 TRX,并创建租赁订单。

  • /api/v1/watchlistsPro · Enterprise

    Watchlist API

    管理观察地址,配额与网站相同。

  • /api/v1/wallets按次计费

    Wallet Analyze API

    Mainnet 余额、代币、近期转账、对手方与交易详情。

Node.js SDK

npm 上的官方 tronscope 包会为每个请求签名,为订单自动添加幂等键,并自带 TypeScript 类型。需要 Node.js 18+,无运行时依赖。

bash
npm install tronscope

面向 AI 代理

构建工具或代理时使用 For AI 文档。精简的鉴权、权限与端点目录。

A few practical notes

Energy Order API is on Free: quote, pay from prepaid TRX, create an order. Amounts are SUN integers (1 TRX = 1,000,000 SUN).

Wallet Analyze is prepaid USD per call on every plan. Watchlist API — the same slot limits as the website — needs Pro or Enterprise.

One signed HTTP base URL, three surfaces. Human docs are on /docs. The compact catalog for agents is on /docs/ai.