跳转至

查询交易对精度

地址/v1/spot/symbol_precision

接收参数

需要

提交方式: GET

示例

Bash
curl -X GET "https://oapi.websea.com/v1/spot/symbol_precision?symbol=BTC-USDT"

提交参数

提交参数

参数名 是否必填 类型 示例 说明
symbol 否 string BTC-USDT 交易对,非必填,不填时返回所有交易对精度

返回参数

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

result 参数说明

参数名 是否必需 类型 示例 说明
amount 是 string LINK-BTC 数量精度
price 是 string LINK-BTC 价格精度
minQuantity 是 string 0.01 委托最小单量
maxQuantity 是 string 100000000 委托最大单量
minPrice 是 string 0.01 委托最低价
maxPrice 是 string 100000000 委托最高价

返回示例

JSON
{
    "errno":0,
    "errmsg":"success",
    "result":{
        "BTC-USDT":{
            "amount":"3",
            "minQuantity":"0.01",
            "maxQuantity":"100000000",
            "price":"2",
            "minPrice":"0.000001",
            "maxPrice":"100000"
        }
    }
}