spectra_get_yield_curve
Display the yield curve for an underlying asset, showing implied APY at each maturity across multiple chains. Compare rates to identify optimal lock periods.
Instructions
Show the yield curve (term structure) for a given underlying asset across all chains.
Fetches all active Spectra PTs matching the underlying (e.g., "USDC", "ETH"), sorts by maturity, and displays implied APY at each point on the curve.
This is the fixed-income view: "What rate can I lock for 30 days vs 90 days vs 180 days?" Helps curators spot term premium anomalies, compare cross-chain rates at similar maturities, and choose optimal maturity targets.
Handles symbol variants automatically (USDC.e, WETH, wstETH → normalized).
Use spectra_get_pt_details or mv_check_ibt_health to drill into a specific maturity. Use spectra_get_pool_capacity to check depth at your capital size. Use spectra_compare_yield for fixed-vs-variable analysis on a specific PT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| underlying | Yes | Underlying asset symbol (e.g., 'USDC', 'ETH', 'stETH', 'GHO') | |
| chain | No | Restrict to a single chain. Omit to scan all chains. | |
| min_tvl_usd | No | Minimum TVL in USD to include (default 0) | |
| min_liquidity_usd | No | Minimum pool liquidity in USD (default 0) | |
| compact | No | One-line-per-maturity output for quick scanning |