Skip to main content

OptimizerPairsResponse

chainIdsstring[]
collateralsstring[]
debtsstring[]
amountnumber
startinteger
countinteger
items object[]
  • Array [
  • chainIdstring
    lenderstring
    marketLongUidstring

    Market UID of the collateral side

    marketShortUidstring

    Market UID of the debt side

    assetLongstring
    assetShortstring
    assetGroupLongstring
    assetGroupShortstring
    symbolLongstring

    Collateral token symbol

    nameLongstring

    Collateral token name

    symbolShortstring

    Debt token symbol

    nameShortstring

    Debt token name

    aprTotalnumber
    maxLeveragenumber
    ltvnumber
    depositAprLongnumber

    Effective deposit APR (depositRate + intrinsicYield)

    borrowAprShortnumber

    Effective borrow APR (borrowRate + intrinsicYield)

    totalDepositsUsdLongnumber
    totalDepositsUsdShortnumber
    totalDebtUsdLongnumber
    totalDebtUsdShortnumber
    totalLiquidityUsdLongnumber
    totalLiquidityUsdShortnumber
    borrowLiquidityShortnumber
    utilizationLongnumber
    utilizationShortnumber
    maxDebtAmountnumber

    Max borrowable amount given collateral (only when amount param provided)

    minCollateralAmountnumber

    Min collateral needed for debt amount (only when amount param provided)

  • ]
  • OptimizerPairsResponse
    {
    "chainIds": [
    "string"
    ],
    "collaterals": [
    "string"
    ],
    "debts": [
    "string"
    ],
    "amount": 0,
    "start": 0,
    "count": 0,
    "items": [
    {
    "chainId": "string",
    "lender": "string",
    "marketLongUid": "string",
    "marketShortUid": "string",
    "assetLong": "string",
    "assetShort": "string",
    "assetGroupLong": "string",
    "assetGroupShort": "string",
    "symbolLong": "string",
    "nameLong": "string",
    "symbolShort": "string",
    "nameShort": "string",
    "aprTotal": 0,
    "maxLeverage": 0,
    "ltv": 0,
    "depositAprLong": 0,
    "borrowAprShort": 0,
    "totalDepositsUsdLong": 0,
    "totalDepositsUsdShort": 0,
    "totalDebtUsdLong": 0,
    "totalDebtUsdShort": 0,
    "totalLiquidityUsdLong": 0,
    "totalLiquidityUsdShort": 0,
    "borrowLiquidityShort": 0,
    "utilizationLong": 0,
    "utilizationShort": 0,
    "maxDebtAmount": 0,
    "minCollateralAmount": 0
    }
    ]
    }