Check Token Types List Port

Provide token types list to display users, tell user which tokens can be traded

Port Transfer

For detailed paramaters, please see API port document; check token list port api/v1/queryCoinList

Important Items:

  1. Currently the only open port is advanced transfer, so during requests, we strongly recommend enteringsupportType = advanced ; but for advanced requests return results will be completely for advanced exchange token types

  2. Request method GET/POST application/x-www-form-urlencoded

Code example

java code example

OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "supportType=advanced");
Request request = new Request.Builder()
.url("https://transfer.swft.pro/api/v1/queryCoinList")
.post(body)
.addHeader("Content-Type", "application/x-www-form-urlencoded")
.addHeader("cache-control", "no-cache")
.build();
Response response = client.newCall(request).execute();

C# code example:

var client = new RestClient("https://transfer.swft.pro/api/v1/queryCoinList");
var request = new RestRequest(Method.POST);
request.AddHeader("cache-control", "no-cache");
request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
request.AddParameter("undefined", "supportType=advanced&undefined=", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);

Objective-C code example

#import <Foundation/Foundation.h>
NSDictionary *headers = @{ @"Content-Type": @"application/x-www-form-urlencoded",
@"cache-control": @"no-cache" };
NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"supportType=advanced" dataUsingEncoding:NSUTF8StringEncoding]];
[postData appendData:[@"&undefined=undefined" dataUsingEncoding:NSUTF8StringEncoding]];
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://transfer.swft.pro/api/v1/queryCoinList"]
cachePolicy:NSURLRequestUseProtocolCachePolicy
timeoutInterval:10.0];
[request setHTTPMethod:@"POST"];
[request setAllHTTPHeaderFields:headers];
[request setHTTPBody:postData];
NSURLSession *session = [NSURLSession sharedSession];
NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request
completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
if (error) {
NSLog(@"%@", error);
} else {
NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;
NSLog(@"%@", httpResponse);
}
}];
[dataTask resume];

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();

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": "Bancor",
"coinCode": "BNT",
"coinImageUrl": "",
"coinName": "Bancor",
"contact": "0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,TCT,ICX,GAT,CK.USD,EET,ETDM,USDC,BCC,GZRO,DTO,LV,TRX,DAI,UCTT"
},
{
"coinAllCode": "Kyber Network",
"coinCode": "KNC",
"coinImageUrl": "",
"coinName": "Kyber Network",
"contact": "0xdd974d5c2e2928dea5f71b9825b8b646686bd200",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,TCT,ICX,GAT,CK.USD,EET,ETDM,USDC,BCC,GZRO,DTO,LV,TRX,DAI,UCTT"
},
{
"coinAllCode": "Bibox Token",
"coinCode": "BIX",
"coinImageUrl": "",
"coinName": "Bibox Token",
"contact": "0xb3104b4b9da82025e8b9f8fb28b3553ce2f67069",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "Civic",
"coinCode": "CVC",
"coinImageUrl": "",
"coinName": "Civic",
"contact": "0x41e5560054824ea6b0732e656e3ad64e20e94e45",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "Cortex",
"coinCode": "CTXC",
"coinImageUrl": "",
"coinName": "Cortex",
"contact": "0xea11755ae41d889ceec39a63e6ff75a02bc1c00d",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "ODEM",
"coinCode": "ODE",
"coinImageUrl": "",
"coinName": "ODEM",
"contact": "0xbf52f2ab39e26e0951d2a02b49b7702abe30406a",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,BCH,SAN,GOOC,SHE,TCT,LBTC,BCD,MVC,ICX,FREC,GAT,XRP,CHE,CNET,CK.USD,GUSD,EET,VIPS,ZEST,IOP,AAA,ETDM,USDC,RPD,BCC,GZRO,DTO,FREE,DOGE,BSV,HNDC,HLP,TAVITT,LV,OCT,HYDRO,TRX,SEX,DAI,IOTA,DASH,FOTC,PGT,UCTT,YT"
},
{
"coinAllCode": "Credo",
"coinCode": "CREDO",
"coinImageUrl": "",
"coinName": "Credo",
"contact": "0x4e0603e2a27a30480e5e3a4fe548e29ef12f64be",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,BCH,SAN,GOOC,SHE,TCT,LBTC,BCD,MVC,ICX,FREC,GAT,XRP,CHE,CNET,CK.USD,GUSD,EET,VIPS,ZEST,IOP,AAA,ETDM,USDC,RPD,BCC,GZRO,DTO,FREE,DOGE,BSV,HNDC,HLP,TAVITT,LV,OCT,HYDRO,TRX,SEX,DAI,IOTA,DASH,FOTC,PGT,UCTT,YT"
},
{
"coinAllCode": "USDCoin",
"coinCode": "USDC",
"coinImageUrl": "",
"coinName": "USDCoin",
"contact": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,DGD,OMG,KNC,SAN,ZRX,FUN,WTC,AIDOC,MOBI,GOOC,SHE,BTG,LBTC,DGB,BCD,MVC,ICX,FREC,TKT,CREDO,XLM,BAT,BNT,GRS,CHE,CNET,TIC,HPC,GUSD,DKYC,CPS,EET,FCT,VIPS,ZEST,IOP,HSC,AAA,MIR,ETA,ETDM,MFTU,CYFM,NDX,HAND,RPD,BCC,XMR,GZRO,DATP,BTO,ODE,DTO,IIC,FREE,DOGE,BSV,HNDC,HLP,SAKE,TAVITT,OCT,HYDRO,SCC,FAB,SEX,DASH,FOTC,PGT,NBC,UCTT,YT,PTT,SSP"
},
{
"coinAllCode": "MediShares",
"coinCode": "MDS",
"coinImageUrl": "",
"coinName": "MediShares",
"contact": "0x66186008C1050627F979d464eABb258860563dbE",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "IoT Chain",
"coinCode": "ITC",
"coinImageUrl": "",
"coinName": "IoT Chain",
"contact": "0x5e6b6d9abad9093fdc861ea1600eba1b355cd940",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,ICX,EET,ETDM,BCC,GZRO,DTO,UCTT"
},
{
"coinAllCode": "BTOCoin",
"coinCode": "BTO",
"coinImageUrl": "",
"coinName": "BTOCoin",
"contact": "0x36905fc93280f52362a1cbab151f25dc46742fb5",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,BCH,SAN,GOOC,SHE,TCT,LBTC,BCD,MVC,ICX,FREC,GAT,XRP,CHE,CNET,CK.USD,GUSD,EET,VIPS,ZEST,IOP,AAA,ETDM,USDC,RPD,BCC,GZRO,DTO,FREE,DOGE,BSV,HNDC,HLP,TAVITT,LV,OCT,HYDRO,TRX,SEX,DAI,IOTA,DASH,FOTC,PGT,UCTT,YT"
},
{
"coinAllCode": "TokenClub",
"coinCode": "TCT",
"coinImageUrl": "",
"coinName": "TokenClub",
"contact": "0x4824A7b64E3966B0133f4f4FFB1b9D6bEb75FFF7",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,DGD,OMG,KNC,SAN,ZRX,FUN,WTC,AIDOC,MOBI,GOOC,SHE,BTG,LBTC,DGB,BCD,MVC,ICX,FREC,TKT,CREDO,XLM,BAT,BNT,GRS,CHE,CNET,TIC,HPC,GUSD,DKYC,CPS,EET,FCT,VIPS,ZEST,IOP,HSC,AAA,MIR,ETA,ETDM,MFTU,CYFM,NDX,HAND,RPD,BCC,XMR,GZRO,DATP,BTO,ODE,DTO,IIC,FREE,DOGE,BSV,HNDC,HLP,SAKE,TAVITT,OCT,HYDRO,SCC,FAB,SEX,DASH,FOTC,PGT,NBC,UCTT,YT,PTT,SSP"
},
{
"coinAllCode": "Hydrogen",
"coinCode": "HYDRO",
"coinImageUrl": "",
"coinName": "Hydrogen",
"contact": "0xebbdf302c940c6bfd49c6b165f457fdb324649bc",
"isSupportAdvanced": "Y",
"mainNetwork": "ETH",
"noSupportCoin": "BCC,SAN,TCT,ICX,TKT,CREDO,GAT,CK.USD,HPC,CPS,EET,HSC,MIR,ETA,ETDM,USDC,MFTU,CYFM,NDX,HAND,BCC,GZRO,DATP,BTO,ODE,DTO,SAKE,LV,SCC,FAB,TRX,DAI,NBC,UCTT,PTT"
},
{
"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, EOS, XLM (Stellar), Waves, etc. mainnet's tokens. For a detailed explanation, please seed the Google Document .

Business Reference Graph: