{"uid":"cap_28xeTECulZgcRx4mv_yYf","slug":"token-pool-quote-relative-difference-sequential-input-change-5303c40e","name":"Token Pool Quote Relative Difference — Sequential Input-Change Attribution","description":"Token pool quote relative difference — Sequential input-change attribution: Sequential input-change attribution for Token pool quote relative difference. 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-pool-price-gap-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"pool_price":1.2100000000000002,"reference_price":1.1},"required":["pool_price","reference_price"],"properties":{"pool_price":{"type":"number","default":1.1,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"reference_price":{"type":"number","default":1,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"pool_price":1.1,"reference_price":1},"required":["pool_price","reference_price"],"properties":{"pool_price":{"type":"number","default":1.1,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"reference_price":{"type":"number","default":1,"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_uSTgMZHrYW8jBcEogIFZZ","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 the sequential input-change attribution for the relative price gap between a token pool quote and a reference price, comparing before and after states deterministically.","exampleAgentPrompt":"Can you run a sequential input-change attribution on the token pool price gap? Before: pool price was 1.10 and reference price was 1.00; after: pool price moved to 1.21 and reference price stayed at 1.10.","exampleUseCases":[{"title":"Post-trade pool price gap review","prompt":"I want to understand how the relative gap between my token pool quote and the reference price shifted after the last trade. Before the trade, pool price was 2.50 and reference was 2.40; after, pool price is 2.65 and reference is 2.45. Can you run the sequential attribution waterfall on that?"},{"title":"Monitoring arbitrage spread changes","prompt":"I track arbitrage opportunities between a DEX pool and a benchmark price. Yesterday the pool was at 0.98 and benchmark at 1.00; today pool is 1.03 and benchmark is 1.01. Can you compute the sequential input-change attribution for that relative price gap shift?"},{"title":"Pre-rebalance gap attribution check","prompt":"Before I rebalance my liquidity position, I want to know how the price gap has moved. Starting point: pool price 500.00, reference 490.00. Current: pool price 512.00, reference 498.00. Show me the waterfall attribution of what drove the gap change."}],"resultDescription":"A deterministic sequential input-change attribution report showing how the relative difference between pool price and reference price changed from the 'before' state to the 'after' state, broken down by individual input contributions (pool_price change vs reference_price change). Returned as a structured calculation result, not a live market scan or trade recommendation.","failureModes":["Missing required 'before' or 'after' object results in a validation error","pool_price or reference_price set to 0 or negative violates exclusiveMinimum constraint","Extremely large numbers near the maximum boundary may cause precision issues","Payment of 0.01 USDC not successfully processed results in HTTP 402 and no report","Malformed JSON body returns a schema validation error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, cost-effective ($0.01 USDC) calculation of how the relative price gap between a token pool quote and a reference price shifted between two observations, with the change decomposed by individual input. Prefer this over live scanning tools when you have already captured your before/after price snapshots and need offline attribution analysis rather than real-time monitoring or trade signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:30.241Z","isFirstParty":false,"canonicalSlug":"token-pool-quote-relative-difference-sequential-input-change-5303c40e"}