根据txHash查询交易列表
根据txHash查询交易列表
application/json
Request Body
txHash string required
通过交易txHash,查询获取已确认交易记录列表
chainSymbol string required
链标识
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
code integer
msg string
data object
success boolean
{
"code": 200,
"msg": "",
"data": {
"pageIndex": 1,
"pageSize": 10,
"totalSize": 10,
"list": [
{
"sinoId": "456417158498373",
"requestId": "3423434",
"replacedSinoId": "456417158498300",
"chainSymbol": "ETH",
"txDirection": 1,
"state": 10,
"transaction": {
"txHash": "ee506b40220af3692be8b84a95a6e02d956164007d875812c1be26b594c2c27a",
"actionType": "Transfer",
"from": "0xc9cf7d652a036d65b3392dfcabc3d3c332082558",
"fromTag": "12300",
"to": "0xca1b41bc3c4ffa88e3a31bff85e3289ec375d138",
"toTag": "1001",
"amount": "1230000000000000000",
"assetId": "ETH_ETH",
"decimal": 18,
"contractAddress": "",
"feeAsset": "ETH_ETH",
"feeAssetDecimal": 18,
"usedFee": "21000000000000",
"fee": "30000000000000",
"gasPrice": "1000000000",
"gasLimit": "60000",
"nonce": "2",
"inputData": "0x095ea7b300000000000000000000000057a1a5869ce3203689d1785b02b55257cb3e1dc60000000000000000000000000000000000000000000000000000000000989680",
"expireTime": 1691500231,
"expireBlockHeight": 6566009,
"referBlockHeight": 6566020,
"vin": [
{
"hash": "a585a524c0f60d24d9c6bdebd47b94435d24e7f6181afbc1b6ba810d97cf0a77",
"voutIndex": "1",
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
],
"vout": [
{
"address": "16tXHQkjcCPibB9eLnR4GUWPpcg3oasvDx",
"amount": "123000"
}
]
},
"note": ""
}
]
},
"success": true
}
POST /v1/waas/custody/transaction/transactions_by_tx_hash
Request
Request
go / requests
nodejs / axios
java / unirest
python / requests
ruby / RestSharp
csharp / httpclient
php / OkHttp