创建订单
1. 接口调用:(限速规则:10次/2s)
https://{host}/open/api/simpleExchange
2. 请求参数
3.请求参数示例
{
"channelId":"zml-test",
"depositCoinAmt":"0.01",
"depositCoinCode":"ETH",
"developerId":"zml-11111",
"receiveCoinCOde":"SWFTC",
"sign":"1A87D09169495065A4DDDB794510C4C0B6AA7C39FACB62406BA5703FC207831F",
"timestamp":1557661583167
}
4.Postman示例
5.返回结果示例
{
"data": {
"changeType": "simple",
"choiseFeeType": "4",
"depositCoinAmt": "0.01",
"depositCoinCode": "ETH",
"depositCoinFeeAmt": "",
"depositCoinFeeRate": "",
"depositCoinState": "",
"destinationAddr": "",
"detailState": "wait_exchange_push",
"orderId": "e61e20c9-7548-4c81-bdd2-35921510c1b2",
"orderState": "wait_deposits",
"platformAddr": "",
"receiveCoinAmt": "647.854966",
"receiveCoinCode": "SWFTC",
"receiveSwftAmt": "0.63",
"refundAddr": "",
"refundCoinAmt": "",
"refundCoinMinerFee": "",
"refundSwftAmt": "",
"swftCoinFeeRate": "0.001",
"swftCoinState": "",
"swftReceiveAddr": "",
"developerId": "zml-11111",
"swftRefundAddr": ""
},
"resCode": "800",
"resMsg": "成功"
}
6.返回参数说明
Last updated