You're viewing a demo portfolio

Join the waitlist
PRSM

lending.rates.query

Active

Tool of Syenite

declared in 0.6.3

Returns real-time borrow APY, supply APY, available liquidity, utilization, max LTV, liquidation threshold, and liquidation penalty for every active lending market across Aave v3, Compound V3, Fluid, Morpho Blue, and Spark on Ethereum, Arbitrum, and Base, plus Kamino and MarginFi on Solana. Call this before any borrow or supply decision to identify the cheapest borrow or the highest supply rate for a given asset pair; the response includes a `bestBorrowRate` summary field for quick comparison. Pass `collateral` (e.g. "WBTC", "ETH", "wstETH") and `borrowAsset` (e.g. "USDC", "DAI") to filter by pair; pass `chain` ("ethereum", "arbitrum", "base", "solana", or "all") to restrict scope — omitting either returns all markets. This tool is read-only and executes no transactions; APYs include compounding and are sourced live from on-chain data.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "chain": {
      "enum": [
        "ethereum",
        "arbitrum",
        "base",
        "all"
      ],
      "type": "string",
      "default": "all",
      "description": "Chain to query. Defaults to all supported chains."
    },
    "collateral": {
      "type": "string",
      "default": "all",
      "description": "Collateral asset or category: \"wBTC\", \"tBTC\", \"cbBTC\", \"WETH\", \"wstETH\", \"rETH\", \"cbETH\", \"weETH\", \"BTC\", \"ETH\", or \"all\""
    },
    "borrowAsset": {
      "type": "string",
      "default": "USDC",
      "description": "Asset to borrow: \"USDC\", \"USDT\", \"DAI\", \"GHO\""
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Syenite

https://github.com/syenite-ai/syenite

1/7 registries
View full server →