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).
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 |