Check Token Types List Port
Provide token types list to display users, tell user which tokens can be traded

Port Change

post
https://{host}/api/v1/queryCoinList

Code example

java code example

OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"supportType\":\"advanced\"}");
Request request = new Request.Builder()
.url("https://{host}/api/v1/queryCoinList")
.post(body)
.addHeader("Content-Type", "application/json")
.addHeader("cache-control", "no-cache")
.build();
Response response = client.newCall(request).execute();
Nodejs code example
var qs = require("querystring");
var http = require("https");
var options = {
"method": "POST",
"hostname": [
"transfer",
"swft",
"pro"
],
"path": [
"api",
"v1",
"queryCoinList"
],
"headers": {
"Content-Type": "application/x-www-form-urlencoded",
"cache-control": "no-cache"
}
};
var req = http.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
var body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.write(qs.stringify({ supportType: 'advanced', undefined: undefined }));
req.end();

Postman example

Response result example

{
"data": [
{
"coinAllCode": "SwftCoin",
"coinCode": "SWFTC",
"coinImageUrl": "",
"coinName": "速币",
"contact": "0x0bb217E40F8a5Cb79Adf04E1aAb60E5abd0dfC1e",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "Bitcoin",
"coinCode": "BTC",
"coinImageUrl": "/static/image/coins/bitcoin.png",
"coinName": "比特币",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "Ether",
"coinCode": "ETH",
"coinImageUrl": "/static/image/coins/ether.png",
"coinName": "以太币",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "EOS",
"coinCode": "EOS",
"coinImageUrl": "",
"coinName": "基数链",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "Stellar",
"coinCode": "XLM",
"coinImageUrl": "",
"coinName": "Stellar",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "",
"noSupportCoin": "BCC,SAN,TCT,ICX,GAT,CK.USD,EET,ETDM,USDC,BCC,GZRO,DTO,LV,TRX,DAI,UCTT"
},
{
"coinAllCode": "Litecoin",
"coinCode": "LTC",
"coinImageUrl": "/static/image/coins/litecoin.png",
"coinName": "莱特币",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "TetherUS",
"coinCode": "USDT",
"coinImageUrl": "",
"coinName": "TetherUS",
"contact": "",
"isSupportAdvanced": "Y",
"mainNetwork": "BTC",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "FunFair",
"coinCode": "FUN",
"coinImageUrl": "",
"coinName": "FunFair",
"contact": "0x419d0d8bdd9af5e606ae2232ed285aff190e711b",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,TCT,ICX,GAT,CK.USD,EET,ETDM,USDC,BCC,GZRO,DTO,LV,TRX,DAI,UCTT"
},
{
"coinAllCode": "Mobius",
"coinCode": "MOBI",
"coinImageUrl": "",
"coinName": "Mobius",
"contact": "GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH",
"isSupportAdvanced": "Y",
"mainNetwork": "XLM",
"noSupportCoin": "BCC,SAN,TCT,ICX,GAT,CK.USD,EET,ETDM,USDC,BCC,GZRO,DTO,LV,TRX,DAI,UCTT"
},
...
],
"resCode": "800",
"resMsg": "成功"
}

Important Items:

For some of the tokens supported on our platform, sometimes there will be a conflict with the tokens supported by other platforms or have different names for the token. In order to avoid sending the wrong token, you should used the names specifed in the fields mainNetworkand contact`, currently the SWFT platform supports ETH, BSC,HECO,MATIC,OEC,TRON,EOS,XRP, XLM (Stellar), Waves, etc. mainnet's tokens. For a detailed explanation, please seed the Google Document .

Business Reference Graph: