Skip to main content

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#

NameTypeMandatoryDescription
loanCoinSTRINGYES
collateralCoinSTRINGYES
repayAmountDECIMALYESrepay amount of loanCoin
recvWindowLONGNO
timestampLONGYES

Response Example#

{  "loanlCoin": "BUSD",  "collateralCoin": "BNB",  "repayAmount": "1000",  "rate": "300.36781234" // rate of collateral coin/loan coin}