18 integrations tagged with "morpho"
Get all of a wallet's Morpho Blue lending positions on a given chain. Returns each position with market metadata (loan/collateral tokens, LLTV, oracle, APYs), raw on-chain state (shares + collateral), SDK-computed risk metrics (LTV, health factor, liquidation price — interest accrued to the current timestamp), and USD values. Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: borrow position monitoring, liquidation risk alerts, portfolio dashboards, automated rebalancing.
Remove collateral from a Morpho Blue position. Modes: 'exact' (specific amount, pre-checked for LTV safety) or 'max' (all collateral, requires zero debt). Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: closing position after repay, reducing leverage, reclaiming idle collateral.
Withdraw lender supply from a Morpho Blue market. Modes: 'exact' (specific asset amount) or 'max' (full position, sweeps dust via shares). Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: yield harvesting, closing lender position, liquidity rotation.
Lend loan token into a Morpho Blue market to earn borrow APY. Automatically approves the loan token to the Morpho singleton. Supports slippage protection via slippageBps. Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: yield farming, earning lending interest, DeFi deposits, automated savings.