gettransactionbyid

TRONC1

Returns the transaction matching the given id, including its contract calls and raw data.

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

Parameters

NameTypeDescription
valuestringThe transaction id (hash).

Returns

object — the transaction.

Request

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

Response

{ "txID": "d5ec749ec…", "raw_data": {}, "ret": [{ "contractRet": "SUCCESS" }] }
More transactions methods on TRON

TRON API

Top up, get a key, ship.

Self-serve. Pay in crypto or card. Metered by credits — heavy primitives cost more, simple ones are cheap.

Get API key