get_health_factor_history
Retrieve a wallet's health factor history block by block to analyze risk trends. Determine if a position is deteriorating over time.
Instructions
Get a user's health factor history over time — shows how their risk has changed block by block. Useful for trend analysis and understanding if a position is deteriorating. Use when asked: 'How has this wallet's health factor changed?', 'Is this position getting riskier over time?', 'Show me the health factor trend for 0x...'.
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": {
"chain": "<chain>",
"userAddress": "<userAddress>"
},
"name": "get_health_factor_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Liquidation risk chain: risk-ethereum, risk-arbitrum, risk-base, risk-polygon, risk-optimism | |
| first | No | Number of snapshots (default 50) | |
| userAddress | Yes | Wallet address (0x...) |