Regulation DD APY
consumer-credit_apy-calculateCompute annual percentage yield for US deposit disclosures under Reg DD Appendix A, including stepped and tiered rates. Price $0.02 USDC. POST /api/v1/consumer-credit/apy-calculate. An unpaid call returns the x402 payment terms and does not run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "consumer-credit_apy-calculate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | mode, string. Optional. | |
| steps | No | steps, array. Optional. | |
| tiers | No | tiers, array. Optional. | |
| method | No | method, string. Optional. | |
| interest | No | interest, integer. Optional. | |
| principal | No | principal, integer. Optional. | |
| yearBasis | No | yearBasis, value. Optional. | |
| daysInTerm | No | daysInTerm, integer. Optional. | |
| compounding | No | compounding, string. Optional. | |
| assumedMaxBalance | No | assumedMaxBalance, integer. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apy | No | apy. Number. | |
| sources | No | sources. Array. | |
| apyExact | No | apyExact. Number. | |
| interest | No | interest. Number. | |
| limitations | No | limitations. Array. |