api.getOrderUserRateAmount.value

流量控制: 5 每 秒

摘要


HTTP 方法

GET

访问路径

/api/v3/user/orderUserRateAmount

功能

api.getOrderUserRateAmount.notes

API 描述


HTTP头

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

请求参数

字段 类型 必须 说明 举例
accountId integer Account ID 10086
market string Trading pair "LRC-ETH"

请求示例

HTTP
CURL
GET https://api3.loopring.io/api/v3/user/orderUserRateAmount?accountId=10086&market=LRC-ETH 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/orderUserRateAmount\?accountId\=10086\&market\=LRC-ETH

响应字段

字段 类型 必须 说明 举例
gasPrice string field.getOrderAmountResponseData.gasPrice "10000000000"
amounts List[TokenAmount] field.getOrderAmountResponseData.amounts /
cacheOverdueAt integer field.getOrderAmountResponseData.cacheOverdueAt 1614683483382

响应示例

{
    "gasPrice" : "10000000000",
    "amounts" : [
        {
            "tokenSymbol" : "LRC",
            "discount" : 1.0,
            "baseOrderInfo" : {
                "minAmount" : "10000000000",
                "makerRate" : 0,
                "takerRate" : 0
            },
            "userOrderInfo" : {
                "minAmount" : "10000000000",
                "makerRate" : 0,
                "takerRate" : 0
            }
        }
    ],
    "cacheOverdueAt" : 1614683483382
}

状态码

状态码 描述
100000 Unknown error

模型


TokenAmount

model.tokenAmount

字段 类型 必须 说明 举例
tokenSymbol string field.tokenAmount.tokenSymbol "LRC"
discount number field.tokenAmount.discount 1.0
baseOrderInfo OrderInfo field.tokenAmount.baseOrderInfo /
userOrderInfo OrderInfo field.tokenAmount.userOrderInfo /

OrderInfo

model.orderInfo

字段 类型 必须 说明 举例
minAmount string field.orderInfo.minAmount "10000000000"
makerRate integer field.orderInfo.makerRate 0
takerRate integer field.orderInfo.takerRate 0

results matching ""

    No results matching ""