sap_x402_estimate_cost
Estimate the cost of a specified number of calls for an agent wallet, using SDK-based pricing with optional volume curve overrides.
Instructions
Estimate cost for a number of calls using SDK X402Registry.estimateCost. Reads escrow/pricing when available and supports optional volume curve overrides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | Number of calls to estimate | |
| agentWallet | No | Agent wallet public key (base58) | |
| volumeCurve | No | Optional array of { afterCalls, pricePerCall } pricing breakpoints | |
| pricePerCall | No | Optional base price per call override in token base units | |
| totalCallsBefore | No | Optional cumulative settled calls before this estimate |