{"uid":"cap_zjkqKTPapkQNmcbjdWt9F","slug":"token-quote-vs-received-amount-sequential-input-change-attribution-9cace78f","name":"Token Quote vs Received Amount — Sequential Input-Change Attribution","description":"Token quote versus received amount — Sequential input-change attribution: Sequential input-change attribution for Token quote versus received amount. 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 sequential input-change attribution report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-quote-shortfall-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"quoted_tokens":1100,"received_tokens":1078},"required":["quoted_tokens","received_tokens"],"properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"quoted_tokens":1000,"received_tokens":980},"required":["quoted_tokens","received_tokens"],"properties":{"quoted_tokens":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"received_tokens":{"type":"number","default":980,"maximum":10000000000000000,"minimum":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_v8kUD4g-UYJKkgY1kDsxB","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":"Computes a sequential input-change attribution (waterfall) report comparing before/after token quote and received amounts to explain shortfall changes.","exampleAgentPrompt":"Before my last swap I quoted 1000 tokens and received 980, then after it I quoted 1100 and received 1078 — can you run a sequential input-change attribution waterfall to explain how the shortfall changed?","exampleUseCases":[{"title":"Diagnosing worsening swap slippage","prompt":"My first swap quoted 5000 tokens and I received 4850, then my next swap quoted 5200 tokens and I only received 4900 — run the sequential attribution waterfall so I can see which input change drove the bigger shortfall."},{"title":"Validating quote accuracy improvement","prompt":"Before tuning my DEX parameters I quoted 2000 tokens and received 1940, after tuning I quoted 2000 and received 1985 — can you do the input-change attribution to confirm which factor improved my received amount?"},{"title":"Monitoring token shortfall drift over time","prompt":"Between yesterday and today my token quotes went from 750 quoted / 720 received to 800 quoted / 755 received — give me the sequential waterfall breakdown to attribute what drove the shortfall change."}],"resultDescription":"A deterministic sequential input-change attribution (waterfall) report showing how changes in quoted_tokens and received_tokens inputs between the 'before' and 'after' observations contributed to the delta in token shortfall, along with a caller-threshold verdict if applicable. No live market data or trade recommendation is included.","failureModes":["quoted_tokens of 0 or below triggers exclusiveMinimum validation error","received_tokens exceeding 10^16 causes schema validation failure","missing required fields (quoted_tokens or received_tokens in either before or after) returns a 400 error","swapped before/after values may produce inverted attribution without error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, reproducible explanation of why a token shortfall changed between two observations — specifically to attribute the change sequentially to input differences (quoted vs received). Prefer this over general slippage calculators when you have a concrete before/after pair of quote and received token amounts and need a structured waterfall decomposition rather than a raw percentage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:59.856Z","isFirstParty":false,"canonicalSlug":"token-quote-vs-received-amount-sequential-input-change-attribution-9cace78f"}