{"uid":"cap_5IOup-iUZ9wDyaS4u1XyO","slug":"lp-token-lock-share-weighted-mean-calculator-903adf42","name":"LP-Token Lock Share Weighted Mean Calculator","description":"Reported locked LP-token fraction — Weighted result mean: Weighted result mean 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 weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-lp-lock-share-weighted-mean?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},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":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_vFisPqPjd3ti1GlSBfO2H","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 weighted mean of locked LP-token fractions across multiple token observations, returning a single aggregated result.","exampleAgentPrompt":"Can you calculate the weighted mean locked LP-token fraction for these four observations — pools with 1000, 1100, 1000, and 1100 total LP tokens and 800, 880, 800, and 880 locked respectively — using weights of 1, 2, 1, and 2?","exampleUseCases":[{"title":"Comparing lock health across token pools","prompt":"I have data from three liquidity pools: total LP of 500000, 750000, and 1200000 with locked LP of 400000, 600000, and 900000. Weight the first lightly at 1 and the others at 3 each — what's the weighted mean locked LP fraction across them?"},{"title":"Auditing a token project's LP lock status","prompt":"We're reviewing a new token project and have five different reported LP lock measurements: total LP values of 2000, 3000, 2500, 4000, and 3500 with locked amounts of 1800, 2400, 2000, 3200, and 2800. All observations equally weighted — give me the weighted mean lock share."},{"title":"Aggregating multi-source LP lock reports","prompt":"I pulled LP lock data from four different reporting sources for the same token — total LP readings of 10000, 10200, 9800, and 10100 with locked readings of 8000, 8160, 7840, and 8080 — with trust weights of 2, 3, 1, and 2. What's the weighted average locked fraction?"}],"resultDescription":"Returns a single weighted mean value representing the aggregate locked LP-token fraction across all provided observations, calculated deterministically from the input locked_lp and total_lp row pairs and their associated weights. The result is a bounded numerical score, not a live scan or safety guarantee.","failureModes":["Fewer than 2 rows provided — minimum of 2 items required in rows array","Weights array length does not match rows array length","total_lp value of 0 or below — must be exclusively greater than 0","locked_lp exceeds total_lp causing a fraction above 1","Values exceeding the maximum of 10^16 are rejected","Malformed request body returns 4xx error","Payment not processed correctly returns 402 status"],"whenToPreferThis":"Use this endpoint when you need a single aggregated weighted mean of locked LP-token fractions across multiple observations, such as when combining data from different reporting sources or time periods. It is best suited for deterministic, computation-only aggregation with custom per-observation weights, not for live on-chain scanning or real-time token safety analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:41:50.245Z","isFirstParty":false,"canonicalSlug":"lp-token-lock-share-weighted-mean-calculator-903adf42"}