文档
定价GitHub控制台

TRON

walletsolidity/gettransactioninfobyid25 额度

Returns the receipt (transaction info) of a transaction by id from the solidified state.

网络: tron

参数

名称类型描述
valuestringTransaction id (64 hex characters).

返回值

类型

Object

Transaction info: id, fee, blockNumber, blockTimeStamp, contractResult, contract_address, receipt (energy/bandwidth usage), log, result, resMessage, internal_transactions; {} when no solidified record exists.

代码示例

curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/walletsolidity/gettransactioninfobyid' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "value": "<transaction id>"
}'