SWFT API
H5
Chinese API
Download
Search…
Description
Cross-chain swap API
Exchange Time Order Graph
Check Token Types List Port
Obtain exchange rate basic information port
Create Order
Check order status
All Orders
SWFT PAY API
SWFT Pay Interface
SWFT TRADE API
SWFT TRADE Interface
Generate signature
Get Account Balance
Single currency Account Balance
Get the Order Detail of Account
Get the Support Trade Pair
Get Market Depth
Place a New Order
Submit Cancel for an Order
Get All Open Orders
Search Historical Orders
Get the Order Detail of an Order
SWFT NFT API
SWFT NFT Interface
Get NFT Category List
Get NFT Detail List
Query nft by account
Query price
Place an order
Add the hash of the order
Query transaction records
Check order details
Powered By
GitBook
Get the Order Detail of Account
1. Request Url
https://{host}/marketApi/billRecord
2. Request Param
Parameter name
Is it necessary
description
channelId
Y
Channel number
timestamp
Y
Millisecond timestamp(UTC+8)
sign
Y
See "
Signature Generation
"
pageNo
N
The current number of pages(default: 1)
pageSize
N
Number each page(default: 10)
coinCode
Y
Currency Type
3.Request Example
{
"channelId":"swft-channel",
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
"timestamp":"1557653925555",
"pageNo":"2",
"pageSize":"10",
"coinCode":"BTC",
}
4.Response Data
{
"data":{
"pageContent":[
{
"amount":"4.344231",
"changeAmt":"1",
"coinCode":"BTC",
"createTime":"2019-08-02 12:14:12",
"recordId":"adsjvLP4",
"type":"trade_deduct"
},
{
"amount":"5.344231",
"changeAmt":"0.0013",
"coinCode":"BTC",
"createTime":"2019-08-03 11:14:00",
"recordId":"mffeoHl",
"type":"trade_receive"
}
],
"pageNo":1,
"pageSize":10,
"totalCount":2,
"totalPage":1
},
"resCode": "800",
"resMsg": "SUCCESS"
}
5.Response Data Explanation
description
Is Array
Parameter name
Data type
Length
Is it necessary
Remark
The current number of pages
N
pageNo
Number
20
Y
eg: 1
Number each page
N
pageSize
Number
20
Y
eg: 10
The total number of records
N
totalCount
Number
20
Y
eg: 2
Total number of pages
N
totalPage
Number
20
Y
eg: 1
The balance
Y
amount
String
20
Y
eg: 4.32
Change the number
Y
changeAmt
String
20
Y
eg: 1
Currency Type
Y
coinCode
String
20
Y
eg: BTC
Record Id
Y
recordId
String
20
Y
eg: adsjvLP4
Record Type
Y
type
String
20
Y
eg: trade_deduct
Timestamp
Y
createTime
String
20
Y
eg: 2019-08-03 11:14:00(UTC+8)
SWFT TRADE API - Previous
Single currency Account Balance
Next - SWFT TRADE API
Get the Support Trade Pair
Last modified
3yr ago
Copy link