◻️Solver下单接口
当用户确认兑换后,平台调用此接口创建订单。
1. 接口调用,POST接口,solver提供。
2. 请求参数示例
参数
是否必须
说明
intentId
是
solver订单号
fromAmt
是
用户存币数量
fromCoin
是
原币
toCoin
是
目标币
toAmt
是
用户应收到数量
destinationAddr
是
用户收币地址
3.请求参数示例
{
"intentId":"123456",
"fromAmt":"1000000",
"fromCoin":"USDT(BASE)",
"toCoin":"USDT(ETH)",
"toAmt":"999800",
"destinationAddr":"0x123456"
}4.返回结果示例
{
"data":{
"result":"success"
}
}5.返回参数说明
状态
result
String
成功返回 success
Last updated
Was this helpful?