Wallet API

TRON 钱包 API

TRON 主网余额、转账、对手方与交易详情。公开美元单价。Free、Pro、Enterprise 同价。

通过 HTTP 获取 TRON 钱包数据

四个 Wallet Analyze 调用。地址或 txid 校验通过后扣费。无效输入不计费。

  • GET/api/v1/wallets/:address$0.001

    钱包概览

    TRX, tokens, Energy, and bandwidth for one address.

  • GET/api/v1/wallets/:address/transactions$0.002

    钱包交易

    Recent transfers, newest first, with optional filters.

  • GET/api/v1/wallets/:address/counterparties$0.003

    对手方

    Top senders, receivers, frequent peers, and largest relationships.

  • GET/api/v1/tx/:txid$0.002

    交易详情

    Decoded type, parties, amount, fees, Energy, and internals.

Request example

Example JSON response

curl "https://api.tronscope.io/api/v1/wallets/TXYZabc123ExampleWalletAddress00" \
  -H "X-API-Key: ts_live_YOUR_KEY" \
  -H "X-Timestamp: 1788123456" \
  -H "X-Signature: computed_hmac"

Error codes

  • 400 — invalid address or transaction ID. Not billed.
  • 401 — missing or invalid HMAC signature.
  • 402 API_CREDIT_REQUIRED — add a Stripe pack and retry.
  • 404 — known-invalid path or unknown transaction.

鉴权与 API 密钥

The call price is the same inside every plan. Pro and Enterprise only add monthly credit.

TRON 钱包 API 常见问题

套餐会改变单价吗?

不会。概览 $0.001,交易列表 $0.002,对手方 $0.003,交易详情 $0.002。套餐只增加每月额度与限额。

额度用完会怎样?

接口返回 HTTP 402 API_CREDIT_REQUIRED。充值后再试。网站浏览器仍然免费。

调用有多快?

概览、转账和对手方读取已索引钱包。交易详情获取并解码一个主网哈希。

A few practical notes

A call is billed only after the address or transaction ID is valid. A typo is not charged. HTTP 402 API_CREDIT_REQUIRED means the USD balance ran out — add a Stripe pack and retry.

Sign on your server with the API secret. Do not put the secret in a browser or a mobile app. Same signing method as Energy and Watchlist.

The website explorer stays free. This page is only for HTTP. Overview $0.001, transactions $0.002, counterparties $0.003, tx detail $0.002.