haiku_discover_yields
Discover yield-bearing opportunities across DeFi protocols. Filter by network, category (lending, vault, LP), minimum APY, and minimum TVL. Returns APY, TVL, risk parameters, and token IIDs for direct use in haiku_get_quote. Answers queries like best lending yields on Arbitrum or highest APY vaults with $1M+ TVL.
Instructions
Discover yield-bearing opportunities across DeFi protocols. Returns APY, TVL, risk parameters, and token IIDs ready for haiku_get_quote. Use this to answer questions like 'best lending yields on Arbitrum', 'highest APY vaults with at least $1M TVL', or 'what can I do with USDC on BNB Chain'. The iid field in results can be used directly as a targetWeight key in haiku_get_quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Filter by network. Common networks: 42161 (Arbitrum), 8453 (Base), 1 (Ethereum), 137 (Polygon), 10 (Optimism), 56 (BNB Chain) | |
| category | No | lending=Aave collateral tokens, vault=Yearn/Morpho vaults, lp=Balancer/Uniswap LP, all=every yield-bearing category (default: all) | |
| minApy | No | Minimum APY filter as a percentage, e.g. 5 means ≥5% APY | |
| minTvl | No | Minimum TVL filter in USD, e.g. 1000000 means ≥$1M TVL. Use this to filter to established mainstream vaults and exclude low-liquidity pools. | |
| sortBy | No | Sort by APY (default) or TVL, descending | |
| limit | No | Maximum number of results (default 20) |