Skip to main content

LendingLendersResponse

Enumeration of available (chainId, lenderKey) pairs sorted by tvlUsd descending.

countintegerrequired

Number of items returned

items object[]required

Lender entries sorted by tvlUsd descending

  • Array [
  • chainIdstringrequired

    EVM chain id, as a decimal string. See the ChainId schema.

    Example: 1
    lenderInfo objectrequired

    Protocol/lender metadata (name, logo).

    keystring

    Lender key identifier

    Example: AAVE_V3
    namestringnullable

    Human-readable lender name

    Example: Aave V3
    logoURIstringnullable

    Lender logo URL

    Example: https://raw.githubusercontent.com/1delta-DAO/protocol-icons/main/lender/aave_v3.webp
    tvlUsdnumberrequired

    Σ totalDepositsUsd − Σ totalDebtUsd over the lender's markets on this chain

    Example: 1234567890.12
    lastFetchednumbernullable

    Epoch ms of latest snapshot

    loop object

    Which loop actions this lender can build, by which route — the lender → loopable list. Read this BEFORE rendering any loop CTA for the lender; a null here is a refusal the loop endpoints will repeat.

    familystringrequired

    Which family row of the matrix answered (stable, lower-kebab): aave-v2, aave-v3, aave-v4, compound-v3, compound-v2-venus, compound-v2, silo, fluid, gearbox-v3, euler-v2, init, dolomite, morpho-blue, lista-dao, midnight, exactly, llamalend, twyne, flying-tulip, curvance, fraxlend, resupply, term, teller, liquity-v2, river, inverse, cooler, dss, frankencoin, termmax.

    Example: aave-v3
    openstringnullablerequired

    Route for /v1/actions/loop/leverage, or null.

    Possible values: [composer, bundler3, native, two-step, null]

    closestringnullablerequired

    Route for /v1/actions/loop/close, or null.

    Possible values: [composer, bundler3, native, two-step, null]

    collateralSwapstringnullablerequired

    Route for /v1/actions/loop/collateral-swap, or null.

    Possible values: [composer, bundler3, native, two-step, null]

    debtSwapstringnullablerequired

    Route for /v1/actions/loop/debt-swap, or null.

    Possible values: [composer, bundler3, native, two-step, null]

    marketGatestring

    A per-market descriptor field that must ALSO be true for a given market of this lender — see MarketCapability.marketGate.

    notesstring

    What a null is missing, or what a non-null route depends on — protocol facts, for the human reading the table.

  • ]
  • LendingLendersResponse
    {
    "count": 0,
    "items": [
    {
    "chainId": "1",
    "lenderInfo": {
    "key": "AAVE_V3",
    "name": "Aave V3",
    "logoURI": "https://raw.githubusercontent.com/1delta-DAO/protocol-icons/main/lender/aave_v3.webp"
    },
    "tvlUsd": 1234567890.12,
    "lastFetched": 0,
    "loop": {
    "family": "aave-v3",
    "open": "composer",
    "close": "composer",
    "collateralSwap": "composer",
    "debtSwap": "composer",
    "marketGate": "string",
    "notes": "string"
    }
    }
    ]
    }