GET Swap History by Source Hash
GET /api/queryBridgeInfoBySourceHash
Complete Query Example
Request Params
hash
query
string
yes
Source Chain Transaction Hash.
Responses
Responses Data
info
JSONObject
Result data info.
Responses Params
fromChain
JSONObject
Source Chain Info.
- chainId
String
Chain Id.
- chainName
String
Chain name.
- scanUrl
String
Explorer Url.
- chainImg
String
Chain Icon Url.
fromToken
JSONObject
Source Token Info.
- chainId
BigInteger
Chain Id.
- address
String
Token address.
- name
String
Token name.
- symbol
String
Token symbol.
- decimal
Integer
Token decimal.
- icon
String
Token icon url.
sourceAddress
String
Cross address.
amount
String
Cross amount.
sourceHash
String
Source Chain Transaction Hash.
toChain
JSONObject
Destination Chain Info.
- chainId
String
Chain Id.
- chainName
String
Chain name.
- scanUrl
String
Explorer Url.
- chainImg
String
Chain Icon Url.
toHash
String
Destination Chain Transaction Hash,When not completed, the destination chain hash is null.
receiveToken
JSONObject
Destination Token Info.
- chainId
BigInteger
Chain Id.
- address
String
Token address.
- name
String
Token name.
- symbol
String
Token symbol.
- decimal
Integer
Token decimal.
- icon
String
Token icon url.
receiveAmount
String
Receive amount.
toAddress
String
Receive address.
state
Integer
Cross state, 0: crossing, 1: completed
timestamp
String
Source Transfer Time.
timestampLong
Long
Cross chain completion timestamp.
completeTime
String
Cross chain completion time.
completeTimeLong
Long
Cross chain completion timestamp.
Response Examples
200 Response
\
hash
query
string
yes
Source Chain Transaction Hash.
Responses
Response Examples
200 Response
\
Last updated