GET Swap History by Source Address
GET /api/queryBridgeHistoryByAddress
Complete Query Example
Request Params
Name
Location
Type
Required
Description
page
query
Integer
no
Integer of page number, default is 1
size
query
Integer
no
Integer of page size, default is 10, max is 100
address
query
string
yes
source address
chainId
query
string
no
source chain id
Responses
HTTP Status Code
Meaning
Description
Data schema
200
Success
Inline
Responses Data
Name
Type
Description
list
JSONArray
List of swap history.
total
Integer
Total number of swap history.
Responses Params
Name
Type
Description
sourceAddress
String
Source address.
destinationAddress
String
Receive address.
fromChainId
String
Source Chain Id.
toChainId
String
Destination Chain Id.
sourceHash
String
Source Chain Transaction Hash.
sourceHeight
Biginteger
Source Chain Transaction Block Height.
destinationHash
String
Destination Chain Transaction Hash.
destinationHeight
Biginteger
Destination Chain Transaction Block Height.
orderId
String
Cross Order Id.
sourceTokenAddress
String
Source Chain Token Address.
destinationTokenAddress
String
Destination Chain Token Address.
amount
decimal
Cross amount.
state
Integer
Cross state, 0: crossing, 1: completed
timestamp
String
Cross Transfer Time.
completeTime
String
Cross Complete Time.
inAmount
decimal
Receive Amount.
sourceChain
JSONObject
Source Chain Info.
- chainId
String
Chain Id.
- chainName
String
Chain name.
- scanUrl
String
Explorer Url.
- chainImg
String
Chain Icon Url.
destinationChain
JSONObject
Destination Chain Info.
- chainId
String
Chain Id.
- chainName
String
Chain name.
- scanUrl
String
Explorer Url.
- chainImg
String
Chain Icon Url.
sourceToken
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.
destinationToken
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.
Response Examples
200 Response
Last updated