🏀查询TRX交易详情
Last updated
Last updated
简要描述
查询TRX交易详情接口
请求URL
/api/trx/getTransaction?txID=3189f91d061beddf1f1e3b829768ea2a08cf94c644255f696105587c9fc252b9
请求方式
GET
参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
返回示例
{
"code": 1,
"data": {
"ret": [
{
"contractRet": "SUCCESS"
}
],
"signature": [
"c7ead724b1d1cad63ed11f2fc86c62e9c1740022fe332ca7fc716819a13f9a377a64ef7c15629b17622dde77f22a35aa5ee22a669f37cc5e4b985eacfcc38b3d00"
],
"txID": "3189f91d061beddf1f1e3b829768ea2a08cf94c644255f696105587c9fc252b9",
"raw_data": {
"contract": [
{
"parameter": {
"value": {
"amount": 1100000,
"owner_address": "41f5fbe5e8725957174014dca1dc4fed54e970a2f8",
"to_address": "41d46b2c182e2248b98429a384b7cd35616b7e4346"
},
"type_url": "type.googleapis.com/protocol.TransferContract"
},
"type": "TransferContract"
}
],
"ref_block_bytes": "1723",
"ref_block_hash": "f87ff939116fc43e",
"expiration": 1652664645000,
"timestamp": 1652664587529
},
"raw_data_hex": "0a0217232208f87ff939116fc43e4088ebf4d38c305a67080112630a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412320a1541f5fbe5e8725957174014dca1dc4fed54e970a2f8121541d46b2c182e2248b98429a384b7cd35616b7e434618e091437089aaf1d38c30"
},
"msg": "查询成功",
"time": 1652665591
}
txID
是
string
转账交易返回的哈希