This document lists tools that were removed due to missing SDK support. These can be re-added when Binance provides official SDK packages or by implementing direct REST API calls.
The @binance/crypto-loan SDK v9.0.1 only supports Flexible Rate loan APIs. The following Fixed-Term/Stable Rate loan tools were removed because their methods don't exist in the SDK:
| File | Tool Name | Description | Required SDK Method |
|---|---|---|---|
borrow.ts |
BinanceCryptoLoanBorrow |
Borrow crypto loan (fixed-term) | borrow() - not available |
repay.ts |
BinanceCryptoLoanRepay |
Repay crypto loan (fixed-term) | repay() - not available |
adjustLTV.ts |
BinanceCryptoLoanAdjustLTV |
Adjust LTV for fixed-term loan | adjustLTV() - not available |
borrowHistory.ts |
BinanceCryptoLoanBorrowHistory |
Get borrow history (fixed-term) | borrowHistory() - not available |
repayHistory.ts |
BinanceCryptoLoanRepayHistory |
Get repay history (fixed-term) | repayHistory() - not available |
ongoingOrders.ts |
BinanceCryptoLoanOngoingOrders |
Get ongoing loan orders (fixed-term) | ongoingOrders() - not available |
ltvAdjustmentHistory.ts |
BinanceCryptoLoanLTVAdjustmentHistory |
Get LTV adjustment history (fixed-term) | ltvAdjustmentHistory() - not available |
customizeMarginCall.ts |
BinanceCryptoLoanCustomizeMarginCall |
Customize margin call settings | customizeMarginCall() - not available |
getCollateralAssets.ts |
BinanceCryptoLoanGetCollateralAssets |
Get collateral assets list | getCollateralAssetsData() - not available |
getLoanableAssets.ts |
BinanceCryptoLoanGetLoanableAssets |
Get loanable assets list | getLoanableAssetsData() - not available |
The SDK provides these methods for Flexible Rate loans:
checkCollateralRepayRate()- Check collateral repay rateflexibleLoanBorrow()- Borrow flexible loanflexibleLoanRepay()- Repay flexible loanflexibleLoanAdjustLtv()- Adjust LTV for flexible loangetFlexibleLoanAssetsData()- Get flexible loan assets datagetFlexibleLoanBorrowHistory()- Get flexible loan borrow historygetFlexibleLoanCollateralAssetsData()- Get flexible loan collateral assets datagetFlexibleLoanInterestRateHistory()- Get flexible loan interest rate historygetFlexibleLoanLiquidationHistory()- Get flexible loan liquidation historygetFlexibleLoanLtvAdjustmentHistory()- Get flexible loan LTV adjustment historygetFlexibleLoanOngoingOrders()- Get flexible loan ongoing ordersgetFlexibleLoanRepaymentHistory()- Get flexible loan repayment history
And these for Stable Rate (legacy/history only):
checkCollateralRepayRateStableRate()- Check collateral repay rate (stable rate)getCryptoLoansIncomeHistory()- Get crypto loans income historygetLoanBorrowHistory()- Get loan borrow history (stable rate)getLoanLtvAdjustmentHistory()- Get loan LTV adjustment history (stable rate)getLoanRepaymentHistory()- Get loan repayment history (stable rate)
Monitor @binance/crypto-loan package updates for new methods.
Implement using the custom REST client pattern in binanceClient.ts:
// Example: Add to binanceClient.ts
export const cryptoLoanApiClient = {
borrow: (params: Record<string, any>) =>
makeSignedRequest("POST", "/sapi/v1/loan/borrow", params),
repay: (params: Record<string, any>) =>
makeSignedRequest("POST", "/sapi/v1/loan/repay", params),
adjustLTV: (params: Record<string, any>) =>
makeSignedRequest("POST", "/sapi/v1/loan/adjust/ltv", params),
// ... etc
};- Fixed-Term Crypto Loans: https://developers.binance.com/docs/crypto_loan/stable-rate
- Flexible Crypto Loans: https://developers.binance.com/docs/crypto_loan/flexible-rate
These tools may also have issues but were not removed yet:
exerciseHistory.ts- MethodexerciseHistory()not in wrapperhistoricalTrades.ts- MethodhistoricalTrades()not in wrapperopenInterest.ts- MethodopenInterest()not in wrapper
- Various method name mismatches (e.g.,
getAccountvsaccount,getBalancevsbalance)
deleteUserDataStream,newUserDataStream,putUserDataStream- Methods may have different names in SDK
onboardedVaspList- Method not in SDK
- Various files have similar issues with SDK method mismatches