get_moolah_market_history
Retrieve historical time-series data for a V2 Moolah market including borrow/supply APY, utilization, and totals. Returns both current and historical points.
Instructions
Time series of a V2 Moolah market's borrow/supply APY, utilization, and totals. Returns current totalBorrow/totalCollateral + borrowApy/supplyApy + list[] of historical points. Use marketId (bytes32 hex) from get_moolah_markets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"marketId": "<marketId>"
},
"name": "get_moolah_market_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Network. Default: mainnet | |
| marketId | Yes | Market ID (bytes32 hex, e.g. '0xabc...') |