Get market configurations

流量控制: 5 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/exchange/markets

功能

Returns the configurations of all supported markets (trading pairs)

API 描述


HTTP头

请求参数

请求示例

HTTP
CURL
GET https://api3.loopring.io/api/v3/exchange/markets HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
curl https://api3.loopring.io/api/v3/exchange/markets

响应字段

字段 类型 必须 说明 举例
markets List[MarketInfo] Markets list /

响应示例

{
    "markets" : [
        {
            "market" : "LRC-USDT",
            "baseTokenId" : 2,
            "quoteTokenId" : 0,
            "precisionForPrice" : 6,
            "orderbookAggLevels" : 4,
            "enabled" : false
        }
    ]
}

状态码

状态码 描述
100000 Unknown error

模型


MarketInfo

字段 类型 必须 说明 举例
market string Trading pair ID "LRC-USDT"
baseTokenId integer The base token ID 2
quoteTokenId integer The quote token ID 0
precisionForPrice integer The precision of price 6
orderbookAggLevels integer The max level of orderbook price aggregation 4
enabled boolean True if trading is enabled for this trading pair "false"

results matching ""

    No results matching ""