跳转至

委托成交详情

地址/v1/spot/order/trades

接收参数

提交方式: GET

示例

Bash
curl -X GET "https://oapi.websea.com/v1/spot/order/trades?order_sn=BL123456789987523" \
  -H "Token: YOUR_TOKEN" \
  -H "Nonce: 1700000000_abcd1" \
  -H "Signature: GENERATED_SIGNATURE"

提交参数

参数名 是否必填 类型 示例 说明
order_sn String BL123456789987523 订单编号

返回参数

参数名 是否必填 类型 示例 说明
errno int 0 状态码
errmsg string success 状态信息
result list 见示例 列表

result 参数说明

参数名 是否必有 类型 示例 说明
order_sn string BL123456789987523 委托单信息
trades array 见示例 成交列表

trades 参数说明

参数名 是否必有 类型 示例 说明
id int 11 成交id
ctime string 成交时间
price string 价格
number string 数量
total_price string 成交额
fee string 手续费

返回示例

JSON
{
    "errno":0,
    "errmsg":"success",
    "result":{
        "order_sn":"BL123456789987523",
        "trades":[
            {
                "id":18,
                "ctime":"2018-10-02 10:33:33",
                "price":"0.123456",
                "number":"1.0000",
                "total_price":"0.123456",
                "fee":"0.00001"
            },
            {
                "id":19,
                "ctime":"2018-10-02 10:33:33",
                "price":"0.123456",
                "number":"1.0000",
                "total_price":"0.123456",
                "fee":"0.00001"
            }
        ]
    }
}