Query transaction information on the chain
GET/transaction/info
Query the transaction information on the chain by transaction hash.
Request
Query Parameters
Chain ID
This is the platform internal ID, not the chain ID on the chain or from the wallet, can be obtained from Get Chain List interface
Transaction hash on the chain
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Status code
Status message on success or error message on failure
Detailed description when error
data
object
required
Whether the transaction is successful
Transaction block timestamp
Note: Unix timestamp, unit: seconds
transactionDetails
object[]
List of transaction details
Sender address
Receiving address
Transaction amount
Note: The value of this field is an integer, calculated by (actual_amount * 10^currency_decimals)
currency
object
required
Transaction currency details
Currency ID
Can be obtained from Get Currency List interface
Currency address on the chain
Currency symbol
Currency decimals
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"isSuccessful": true,
"blockTimestamp": 0,
"transactionDetails": [
{
"from": "string",
"to": "string",
"amount": "string",
"currency": {
"currencyId": 0,
"currencyAddress": "string",
"currencySymbol": "string",
"precision": 0
}
}
]
}
}
{
"code": 200,
"msg": "success",
"data": {
"isSuccessful": true,
"blockTimestamp": 1704185589,
"transactionDetails": [
{
"from": "TSBJBk1Nfc7sxYp59bjTtLEV8WKxZcZy2L",
"to": "TVqxgknMr2EZbV6ksV3DZpE7Appt3Q3bji",
"amount": "1000000",
"currency": {
"currencyId": 106,
"currencyAddress": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj",
"currencySymbol": "USDT",
"precision": 6
}
}
]
}
}
Unauthorized
Forbidden
Not Found