Query user place order fee rate

流量控制: 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/user/orderFee

功能

Returns the fee rate of users placing orders in specific markets

API 描述


HTTP头

字段 类型 必须 说明 举例
X-API-KEY string ApiKey "HlkcGxbqBeaF76j4rvPaOasyfPwnkQ
6B6DQ6THZWbvrAGxzEdulXQvOKLrRW
ZLnN"

请求参数

字段 类型 必须 说明 举例
accountId integer Account ID 1
market string List of markets to be queried separated by "," "LRC-ETH"
tokenB integer Token ID 0
amountB string Amount to buy "10000000000000000"

请求示例

HTTP
CURL
GET https://api3.loopring.io/api/v3/user/orderFee?accountId=1&market=LRC-ETH&tokenB=0&amountB=10000000000000000 HTTP/1.1
Host: api3.loopring.io
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh,en;q=0.9
X-API-KEY: sra1aavfa
curl -H "X-API-KEY:sra1aavfa" https://api3.loopring.io/api/v3/user/orderFee\?accountId\=1\&market\=LRC-ETH\&tokenB\=0\&amountB\=10000000000000000

响应字段

字段 类型 必须 说明 举例
feeRate FeeRate User fee rate of the market "{symbol:LRC-ETH, makerRate:0, takerRate:25}"
gasPrice string The gas price use to calculate fee rate "10000000000"

响应示例

{
    "feeRate" : {
        "symbol" : "LRC-USDT",
        "makerRate" : 20,
        "takerRate" : 20
    },
    "gasPrice" : "10000000000"
}

状态码

状态码 描述
100000 Unknown error

模型


FeeRate

The data structure of user query market fee rate

字段 类型 必须 说明 举例
symbol string Market "LRC-USDT"
makerRate integer Maker rate 20
takerRate integer Taker rate 20

results matching ""

    No results matching ""