Check Collateral Repay Rate(USER_DATA)
API Description
Get the the rate of collateral coin / loan coin when using collateral repay, the rate will be valid within 8 second.
HTTP Request
GET /sapi/v1/loan/repay/collateral/rate
Request Weight(IP)
6000
Request Parameters
Name | Type | Mandatory | Description |
---|---|---|---|
loanCoin | STRING | YES | |
collateralCoin | STRING | YES | |
repayAmount | DECIMAL | YES | repay amount of loanCoin |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Response Example
{
"loanlCoin": "BUSD",
"collateralCoin": "BNB",
"repayAmount": "1000",
"rate": "300.36781234" // rate of collateral coin/loan coin
}