The interest rate curve for an asset (v4)
get_interest_rate_modelv4 only. The rate curve for one hub asset: borrow and supply APY at each level of utilisation, as points along the curve the protocol actually uses. This explains a rate rather than reporting it - where the kink sits, how steeply borrowing gets more expensive past it, and what the rate would become if utilisation moved. Use it before a large supply or borrow that would shift utilisation, because the current rate from get_reserve_details is one point on this curve and not what a large position would pay. 'hubAssetId' comes from get_hub_assets.
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": {
"hubAssetId": "<hubAssetId>"
},
"name": "get_interest_rate_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Optional, and only 'v4': this tool exists on v4 only. | |
| hubAssetId | Yes | hubAssetId from get_hub_assets (not a token address). |