forever_number
Computes the lump-sum capital whose yield alone covers a recurring monthly bill forever, using a TVL-weighted blended rate of railed pools (or a caller-supplied APY between 0 and 1000 percent).
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": {
"monthly": "<monthly>"
},
"name": "forever_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apy | No | Optional annual rate percent, greater than 0 and at most 1000. When omitted, uses the TVL-weighted blended rate of railed pools. | |
| monthly | Yes | Positive USD/month the capital must cover |