{"uid":"cap_GCIl9HV-f1WcnK-3AsGD-","slug":"lp-token-lock-share-rolling-mean-calculator-d3fb6b3e","name":"LP-Token Lock Share Rolling Mean Calculator","description":"Reported locked LP-token fraction — Rolling mean report: Rolling mean report for Reported locked LP-token fraction. 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 rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-lp-lock-share-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["locked_lp","total_lp"],"properties":{"total_lp":{"type":"number","default":1000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"locked_lp":{"type":"number","default":800,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"default":[{"total_lp":1000,"locked_lp":800},{"total_lp":1100,"locked_lp":880.0000000000001},{"total_lp":1000,"locked_lp":800},{"total_lp":1100,"locked_lp":880.0000000000001}],"maxItems":200,"minItems":2},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_8Jljj7uDVVyA42sP3nISh","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 rolling mean of the locked LP-token fraction (locked_lp / total_lp) over a sliding window of observations.","exampleAgentPrompt":"Calculate the rolling mean of locked LP-token fraction for these 4 snapshots — (1000 total / 800 locked), (1100 total / 880 locked), (1000 total / 800 locked), (1100 total / 880 locked) — using a window size of 2.","exampleUseCases":[{"title":"Smoothing LP lock ratio for DeFi dashboard","prompt":"I have 6 LP token snapshots with varying locked and total amounts — smooth the locked fraction using a rolling mean with a window of 3 so I can display a clean trend line on my DeFi dashboard."},{"title":"Detecting LP lock drift over time","prompt":"Can you compute the rolling average of our locked LP share across these 10 observations using a window of 4? I want to see if the lock fraction has been drifting downward recently."},{"title":"Pre-trade LP lock health check","prompt":"Before I invest, run a rolling mean report on this token's LP lock data — I have 5 data points of locked and total LP amounts — using a window of 2, so I can see the average locked fraction trend."}],"resultDescription":"Returns a rolling mean report of the locked LP-token fraction (locked_lp / total_lp) computed over the specified sliding window. Each output value represents the average lock share across the window, derived from the supplied observations. The result is deterministic given the same inputs.","failureModes":["Fewer than 2 rows provided — minimum 2 observations required","Window size exceeds number of rows — rolling mean cannot be computed","locked_lp value exceeds total_lp — may produce fractions greater than 1","Non-numeric or missing required fields (locked_lp, total_lp) cause validation errors","total_lp set to 0 causes division-by-zero error"],"whenToPreferThis":"Use this endpoint when you have a time-series of LP token lock observations and need a smoothed, windowed average of the locked fraction rather than a single point-in-time snapshot. Prefer this over raw ratio calculations when you want noise reduction across multiple snapshots. It is not a live scanner or safety oracle — it is purely a deterministic statistical computation on caller-supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:47:59.954Z","isFirstParty":false,"canonicalSlug":"lp-token-lock-share-rolling-mean-calculator-d3fb6b3e"}