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

Preguntas frecuentes

How do I see energy used by a tx?

The receipt.energy_usage_total field reports the energy consumed.

Recarga, obtén tu clave y publica.

Autoservicio. Paga en cripto o con tarjeta. Medido por créditos: las primitivas pesadas cuestan más, las simples son baratas.

Obtener clave API