gettransactionbyid
TRONC1Returns the transaction matching the given id, including its contract calls and raw data.
Endpoint
POST https://api.1st-node.com/v1/tron/wallet/gettransactionbyidParameters
| Name | Type | Description |
|---|---|---|
| value | string | The 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
充值、拿密钥、上线。
自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。
获取 API 密钥