{"uid":"cap_kqhtznK5txRWWZxd6juP8","slug":"token-buy-receipt-shortfall-target-gap-calculator-8c6933b3","name":"Token Buy Receipt Shortfall — Target Gap Calculator","description":"Token buy receipt shortfall — Target gap calculation: Target gap calculation for Token buy receipt shortfall. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded target gap calculation report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-buy-receipt-target-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000},"values":{"type":"object","default":{"actual_tokens":950,"expected_tokens":1000},"required":["expected_tokens","actual_tokens"],"properties":{"actual_tokens":{"type":"number","default":950,"maximum":10000000000000000,"minimum":0},"expected_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z5vY4-1S24nvR_hAa8ODb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the gap between expected and actual tokens received in a buy transaction, determining whether a configurable target threshold is met","exampleAgentPrompt":"I bought tokens and expected to receive 1000 but only got 950 — can you calculate the target gap for this shortfall against a target of 100 to see if I missed the mark?","exampleUseCases":[{"title":"Post-trade token receipt check","prompt":"After my token swap settled I received 8750 tokens but expected 9000 — calculate the shortfall gap against my target of 200 so I know how far off the trade was."},{"title":"Automated buy-order reconciliation","prompt":"My exchange receipt shows 47,300 tokens delivered versus the 50,000 I ordered. Run the target gap calculation with a threshold of 1000 to flag whether this shortfall is within acceptable range."},{"title":"Bulk purchase quality audit","prompt":"We got 999,500 tokens from a large buy order that should have been 1,000,000. Calculate the token buy receipt target gap using a target of 5000 to determine if we're within tolerance."}],"resultDescription":"Returns a deterministic target gap calculation report indicating the numeric difference between expected_tokens and actual_tokens relative to the supplied target value, along with a verdict on whether the shortfall meets or exceeds the caller-defined threshold. No live market data or trade recommendations are included.","failureModes":["expected_tokens value of zero triggers exclusiveMinimum validation failure","actual_tokens or expected_tokens exceeding 10,000,000,000,000,000 rejected as out of range","target value outside ±1e18 range rejected","missing required values object returns schema validation error","malformed JSON body returns 400-level error","payment not included or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic calculation of the gap between expected and actual tokens in a purchase receipt against a configurable threshold — particularly for automated reconciliation pipelines, post-trade auditing, or alerting workflows where you supply your own token observations and want a bounded verdict without live market scanning or trade advice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:43:45.133Z","isFirstParty":false,"canonicalSlug":"token-buy-receipt-shortfall-target-gap-calculator-8c6933b3"}