gettransactioninfobyid

TRONC1

Returns execution results for a transaction — energy and bandwidth consumed, logs and status. The TRON analogue of a receipt.

Endpoint
POST https://api.1st-node.com/v1/tron/wallet/gettransactioninfobyid

Parameters

NameTypeDescription
valuestringThe transaction id (hash).

Returns

object — receipt with energy_usage, logs and result.

Request

curl https://api.1st-node.com/v1/tron/wallet/gettransactioninfobyid \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{ "value": "d5ec749ec…" }'
{ "value": "d5ec749ec…" }

Response

{ "id": "d5ec749ec…", "receipt": { "energy_usage_total": 31895 }, "log": [] }
More transactions methods on TRON

TRON API

Sıkça sorulanlar

How do I see energy used by a tx?

The receipt.energy_usage_total field reports the energy consumed.

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al