compound_interest
Future value of a principal with periodic contributions and compounding, with a year-by-year schedule. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | Yes | Years | |
| ratePct | Yes | Annual rate percent | |
| principal | Yes | Starting amount | |
| contribution | No | Contribution per period | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. | |
| periodsPerYear | No |