post
https://api.shasta.trongrid.io/wallet/gettransactionbyid
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
返回值
返回Transaction对象,其中包含如下字段:
| 字段 | 类型 | 描述 |
|---|---|---|
| txID | String | 交易 ID (哈希)。 |
| ret.contractRet | string[] | 交易执行结果。 |
| signature | string[] | 交易签名。 |
| raw_data_hex | string | 交易的原始数据。(格式: hex) |
| raw_data | Transaction | 交易内容。详见 此处 。 |
| fee_limit | Long | 本次交易允许消耗的最大费用 (TRX)。(单位: sun) |
| ref_block_bytes | String | 引用区块编号 (高度) 的最后 2 个字节,用于交易验证。 |
| ref_block_hash | String | 引用区块哈希的第 8 至 16 字节,用于交易验证。 |
| expiration | Long | 交易过期时间。(单位: 毫秒) |
| timestamp | Long | 区块时间戳。(单位: 毫秒) |