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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_rates"
}
}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 |