获取支持的交易对信息

1. 接口调用:

https://{host}/marketApi/loadPair

2. 请求参数实例

参数

是否必须

说明

channelId

渠道id

timestamp

毫秒时间戳(UTC+8)

sign

签名

3.请求参数示例

 {
     "channelId":"swft-channel",
     "sign":"102027D292DD0707E0D899459D91C759858D7367D223CB239A8EC3A90C30B122",
     "timestamp":"1557653925555"
 }

4.返回结果示例

 {
    "data":[
        {
            "allowCoinLow":"0.001",
            "allowTradeLow":"0.000001",
            "tradeCode":"USDT",
            "tradeNumAccuracy":6,
            "tradePair":"BTC/USDT",
            "tradePriceAccuracy":2
        },
        {
            "allowCoinLow":"0.001",
            "allowTradeLow":"0.000001",
            "tradeCode":"USDT",
            "tradeNumAccuracy":6,
            "tradePair":"ETH/USDT",
            "tradePriceAccuracy":2
        }
    ],
    "resCode":"800",
    "resMsg":"成功"
}

5.返回参数说明

字段名称

是否数组

字段

数据类型

数据长度

必须项

备注

最小允许交易量

Y

allowCoinLow

String

20

Y

eg: 0.001

最小允许交易额

Y

allowTradeLow

String

20

Y

eg: 0.000001

交易币种

Y

tradeCode

String

20

Y

eg: USDT

交易对

Y

tradePair

String

20

Y

eg: ETH/USDT

交易数量精度

Y

tradeNumAccuracy

Number

2

Y

eg: 2

交易额精度

Y

tradePriceAccuracy

Number

2

Y

eg: 6