CollateralSwapRangeResult
Max swappable collateral. amountUSD = depositsUSD of the source collateral position.
Market UID of the collateral side
Market UID of the debt side
Display name of the collateral market/vault (e.g. the Euler eVault name). Disambiguates rows that share the collateral/debt token symbols and lender.
Display name of the debt market/vault. For Euler this is the controller (debt) eVault — the primary way to tell otherwise-identical WETH→USDC rows apart.
Curator/brand of the collateral market (Euler: resolved from the vault governor). Null for lenders without a curator, or until the curator registry is seeded. Render as "curatorName + symbol", falling back to marketNameLong.
Curator/brand of the debt (controller) market. Same semantics as curatorNameLong.
Collateral asset address
Debt asset address
Collateral token symbol
Collateral token name
Debt token symbol
Debt token name
Liquidation collateral factor for the long side
0.94Borrow-adjusted collateral factor for the long side
0.92Borrow factor for the long side
1Whether collateral is disabled for the long asset
Whether debt is disabled for the long asset
Liquidation collateral factor for the short side
0.94Borrow-adjusted collateral factor for the short side
0.92Borrow factor for the short side
1Whether collateral is disabled for the short asset
Whether debt is disabled for the short asset
E-mode configuration ID
E-mode category
Base APR (deposit - borrow + intrinsic, before rewards)
Total APR (base + rewards)
Loan-to-value ratio (0-1)
True when the debt (short) market is a Lista DAO brokered market — it cannot be looped at a variable rate, only at one of the fixed terms in termsShort. variableBorrowRateShort is 0/undefined for such pairs.
termsShort object[]nullable
Fixed-term rate card for the debt (short) side when it is a Lista DAO brokered market. Each entry is one loop option — see the per-term net-APR recipe. null/empty for regular variable-rate pairs.
Broker-defined term identifier. Pass to /v1/actions/lending/borrow?termId=…. Numeric on-chain; some upstream feeds serialize it as a string — coerce with Number() when comparing.
2How long the position is locked at the fixed rate, in days (e.g. 7, 14, 30).
7Term duration in seconds (raw on-chain value).
604800Annualised borrow APR for this term, in percent (e.g. 3.85 = 3.85%). Same unit as variableBorrowRate / stableBorrowRate. For order-book markets (Midnight) this is the 0-notional top-of-book (cheapest) rate — see aprAtAmount for the size-weighted rate.
3.85Size-weighted (VWAP) borrow APR % at the supplied debt notional, for order-book fixed-term markets (Morpho Midnight): the borrow book filled cheapest-first, (Σ filledᵢ·aprᵢ)/amount. Present only when an amount is supplied AND the term carries an order-book ladder; broker rate cards (Lista, single flat rate) omit it and apr already applies at any size.
Total loan-token depth in this term's order book — the maximum borrow openable at this maturity. Present only for order-book terms with an amount supplied.
True when the supplied debt notional exceeds fillable — the book can't fully fund the borrow at this maturity (aprAtAmount is then the drain-the-book VWAP).
ladder object[]nullable
Order-book borrow ladder (best-borrow first) for order-book fixed-term markets (Midnight). Only serialized when depth=true (bulky). aprAtAmount is the pre-computed size-weighted rate; use this to re-derive it at any amount.
Annualised borrow rate at this tier (%).
Credit/debt units at this tier (raw).
Loan-token size available at this tier.
Total reward APR on the collateral side
Total reward APR on the debt side
Reward programs for the collateral side
Reward programs for the debt side
Total deposits in token units (long side)
Total debt in token units (long side)
Total liquidity in token units (long side)
Total deposits in token units (short side)
Total debt in token units (short side)
Total liquidity in token units (short side)
Available borrow liquidity (debt side) in token units
Available withdraw liquidity (collateral side) in token units
Remaining deposit capacity (collateral side) in token units
underlyingInfoLong object
Collateral asset metadata including token info, market prices, and oracle prices
asset object
Token metadata (address, symbol, name, decimals, logoURI, assetGroup)
Token metadata (address, symbol, name, decimals, logoURI, assetGroup)
prices object
Market prices (priceUsd, priceUsd24h, priceChange24h)
Market prices (priceUsd, priceUsd24h, priceChange24h)
oraclePrice object
On-chain oracle prices (oraclePrice, oraclePriceUsd)
On-chain oracle prices (oraclePrice, oraclePriceUsd)
underlyingInfoShort object
Debt asset metadata including token info, market prices, and oracle prices
asset object
Token metadata (address, symbol, name, decimals, logoURI, assetGroup)
Token metadata (address, symbol, name, decimals, logoURI, assetGroup)
prices object
Market prices (priceUsd, priceUsd24h, priceChange24h)
Market prices (priceUsd, priceUsd24h, priceChange24h)
oraclePrice object
On-chain oracle prices (oraclePrice, oraclePriceUsd)
On-chain oracle prices (oraclePrice, oraclePriceUsd)
Max amount of source collateral to withdraw (in asset units)
5000Equivalent amount in the target collateral asset units
5000Max swappable amount in USD
5000{
"amountIn": 5000,
"amountOut": 5000,
"amountUSD": 5000,
"chainId": "string",
"lender": "string",
"marketLongUid": "string",
"marketShortUid": "string",
"marketNameLong": "string",
"marketNameShort": "string",
"curatorNameLong": "string",
"curatorNameShort": "string",
"assetLong": "string",
"assetShort": "string",
"assetGroupLong": "string",
"assetGroupShort": "string",
"symbolLong": "string",
"nameLong": "string",
"symbolShort": "string",
"nameShort": "string",
"collateralFactorLong": 0.94,
"borrowCollateralFactorLong": 0.92,
"borrowFactorLong": 1,
"collateralDisabledLong": true,
"debtDisabledLong": true,
"collateralFactorShort": 0.94,
"borrowCollateralFactorShort": 0.92,
"borrowFactorShort": 1,
"collateralDisabledShort": true,
"debtDisabledShort": true,
"eModeConfigId": "string",
"eMode": "string",
"aprBase": 0,
"aprTotal": 0,
"maxLeverage": 0,
"ltv": 0,
"depositRateLong": 0,
"variableBorrowRateShort": 0,
"intrinsicYieldLong": 0,
"intrinsicYieldShort": 0,
"variableBorrowDisabledShort": true,
"termsShort": [
{
"termId": 2,
"durationDays": 7,
"durationSecs": 604800,
"apr": 3.85,
"aprAtAmount": 0,
"fillable": 0,
"capped": true,
"ladder": [
{
"apr": 0,
"units": "string",
"assets": 0
}
]
}
],
"rewardAprLong": 0,
"rewardAprShort": 0,
"rewardsLong": [
{}
],
"rewardsShort": [
{}
],
"totalDepositsLong": 0,
"totalDebtLong": 0,
"totalLiquidityLong": 0,
"totalDepositsShort": 0,
"totalDebtShort": 0,
"totalLiquidityShort": 0,
"totalDepositsUsdLong": 0,
"totalDebtUsdLong": 0,
"totalLiquidityUsdLong": 0,
"totalDepositsUsdShort": 0,
"totalDebtUsdShort": 0,
"totalLiquidityUsdShort": 0,
"borrowLiquidityShort": 0,
"withdrawLiquidityLong": 0,
"depositableLong": 0,
"utilizationLong": 0,
"utilizationShort": 0,
"underlyingInfoLong": {
"asset": {},
"prices": {},
"oraclePrice": {}
},
"underlyingInfoShort": {
"asset": {},
"prices": {},
"oraclePrice": {}
}
}