For the complete documentation index, see llms.txt. This page is also available as Markdown.

◻️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