get_rates
Fetch real-time supply APYs across Aave V3 and Morpho on Base Mainnet and identify the protocol yielding higher returns for capital recovery.
Instructions
Get real-time supply APYs across Aave V3 and Morpho on Base Mainnet. Automatically indicates the most profitable protocol for capital recovery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Force a live on-chain refresh rather than using cached rates (defaults to false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aave | Yes | Aave V3 supply yield on Base Mainnet | |
| best | Yes | Protocol with the highest yield | |
| morpho | Yes | Morpho Vault supply yield on Base Mainnet | |
| bestApy | Yes | Highest supply APY currently available | |
| isCached | No | Whether rates were served from in-memory cache | |
| lastUpdated | No | ISO 8601 timestamp of last oracle update |