{"uid":"cap_sIyQFnXNVKmpQKLxh2WeK","slug":"token-execution-fee-burden-waterfall-sequential-input-change-fe052ec4","name":"Token Execution Fee Burden Waterfall — Sequential Input-Change Attribution","description":"Token execution fee relative to notional — Sequential input-change attribution: Sequential input-change attribution for Token execution fee relative to notional. 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-fee-burden-waterfall?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"fee_usd":2.2,"notional_usd":1100},"required":["fee_usd","notional_usd"],"properties":{"fee_usd":{"type":"number","default":2,"maximum":10000000000000000,"minimum":0},"notional_usd":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"before":{"type":"object","default":{"fee_usd":2,"notional_usd":1000},"required":["fee_usd","notional_usd"],"properties":{"fee_usd":{"type":"number","default":2,"maximum":10000000000000000,"minimum":0},"notional_usd":{"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_CPkIsoM-aHLgm9syASJSL","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 (waterfall) attribution of how changes in fee_usd and notional_usd individually drive the change in a token's execution fee burden (fee relative to notional).","exampleAgentPrompt":"Can you do a waterfall attribution on why my token execution fee burden changed — before it was a $2 fee on a $1000 trade, and after it's a $2.20 fee on an $1100 trade? I want to see how much of the ratio shift came from the fee change versus the notional change.","exampleUseCases":[{"title":"Trade sizing impact on fee burden","prompt":"My token swap had a $2 fee on $1000 notional before, and now the notional grew to $1100 with the same $2 fee — can you run a sequential attribution to show me how much the notional increase drove the change in my fee burden ratio?"},{"title":"Fee hike contribution analysis","prompt":"The execution fee on my token trade jumped from $2 to $2.20 while the notional stayed at $1000 — break down via waterfall how much of the fee burden change came from that fee increase versus any notional movement."},{"title":"Comparing two trade scenarios","prompt":"I have two trade snapshots: scenario A is $3 fee on $500 notional, scenario B is $4 fee on $800 notional — can you do a sequential input-change attribution to tell me how the fee and notional shifts each contributed to the change in fee burden?"}],"resultDescription":"A deterministic sequential input-change attribution report showing how each input variable (fee_usd and notional_usd) individually contributed to the overall change in the token execution fee burden (fee/notional ratio) between the before and after states, following a waterfall decomposition methodology.","failureModes":["notional_usd of zero (excluded by exclusiveMinimum constraint) causes validation error","missing required fields (fee_usd or notional_usd in either before or after objects) returns schema validation error","before and after states identical yields zero attribution across all inputs","extremely large values near the 1e16 maximum may produce floating-point precision artifacts","malformed JSON body returns 400-level error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, ordered decomposition of what drove a change in token execution fee burden between two snapshots — specifically when you want to isolate the marginal contribution of the fee amount versus the notional trade size. Prefer this over generic ratio-change calculators when you need a structured waterfall attribution report rather than just a delta, and when you want a caller-supplied input comparison (not a live market scan or trade recommendation).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:48:37.886Z","isFirstParty":false,"canonicalSlug":"token-execution-fee-burden-waterfall-sequential-input-change-fe052ec4"}