跳到主要内容

调整质押率

限速规则 10次/1s (UID)

描述

调整质押率

HTTP请求

  • POST /api/v2/earn/loan/revise-pledge
请求示例
curl -X POST "https://api.bitget.com/api/v2/earn/loan/revise-pledge" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{
"orderId":"12121212121",
"pledgeCoin":"USDT",
"reviseType":"OUT",
"amount":"1"
}'

请求参数

参数名参数类型是否必须描述
orderIdString订单ID
amountString调整数量
pledgeCoinString质押币种
reviseTypeString调整类型
OUT: 提取质押品
IN 补充质押品
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1684747525424,
"data": {
"loanCoin": "TRX",
"pledgeCoin": "USDT",
"afterPledgeRate": "60.5"
}
}

返回参数

返回字段参数类型字段说明
loanCoin已借币种
pledgeCoin质押币种
afterPledgeRate调整后质押利率百分比