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
Single currency Account Balance
1. Request Url
https://{host}/marketApi/accountsByCode/{coinCode}
2. Request Param
Parameter name
Is it necessary
description
channelId
Y
Channel number
timestamp
Y
Millisecond timestamp(UTC+8)
sign
Y
See "
Signature Generation
"
3. Request Example
{
"channelId":"swft-channel",
"sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
"timestamp":"1557653925555"
}
4. Response Data
{
"data":{
"coinCode":"BTC",
"availableAmount":"1.46",
"freezeAmount":"0"
},
"resCode": "800",
"resMsg": "SUCCESS"
}
5.Response Data Explanation
Parameter name
Is it necessary
Type of data
description
remark
coinCode
Y
String
Currency Code
eg: BTC
availableAmount
Y
String
Available Balance
eg: 1.46
freezeAmount
Y
String
Freeze Balance
eg: 0.01
SWFT TRADE API - Previous
Get Account Balance
Next - SWFT TRADE API
Get the Order Detail of Account
Last modified
3yr ago
Copy link