Added to both /mm/lend and /mm/lend/cb endpoints. Use this instead of the float circuitBreakerLimit for MAX button / validation to avoid float rounding mismatches.
{
"data": {
"circuitBreakerLimit": 2.827221,
"circuitBreakerLimitRaw": "2827221",
"circuitBreakerLimitUsd": 2.827221
}
}{
"globalMetrics": {
"circuitBreakerLimit": 2.827221,
"circuitBreakerLimitRaw": "2827221",
"circuitBreakerLimitUsd": 2.827221
}
}Added to chains[].assets[].userMetrics. Value: min(walletBalance, totalBorrowed).
FE should subtract session fee on their side if using sessions.
{
"userMetrics": {
"totalRepayable": 0.996546,
"totalRepayableRaw": "996546",
"totalRepayableUsd": 0.996546,
"totalBorrowed": 2.187954,
"walletBalance": 0.996546
}
}/mm/preview/hf/withdraw and /mm/preview/hf/deposit now correctly handle non-collateral assets (e.g. ftUSD):
isCollateral=false→ deposit/withdraw does not change projected HFis_below_min_equityis skipped for non-collateral deposit/withdrawpriceAndDecimalsrevert is handled gracefully (falls back to $1 for non-collateral)