{"uid":"cap_NoVhi0DiUJbw9P55VmSj-","slug":"token-liquidity-relative-change-weighted-result-mean-706f371f","name":"Token Liquidity Relative Change — Weighted Result Mean","description":"Token liquidity relative change — Weighted result mean: Weighted result mean for Token liquidity relative change. 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-liquidity-change-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["current_liquidity","previous_liquidity"],"properties":{"current_liquidity":{"type":"number","default":120000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"previous_liquidity":{"type":"number","default":100000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"current_liquidity":120000,"previous_liquidity":100000},{"current_liquidity":132000,"previous_liquidity":110000.00000000001},{"current_liquidity":120000,"previous_liquidity":100000},{"current_liquidity":132000,"previous_liquidity":110000.00000000001}],"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_TleWVZGadVO-HxclM2duB","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 relative liquidity changes across multiple token observations by comparing current vs. previous liquidity values.","exampleAgentPrompt":"Calculate the weighted mean of relative liquidity changes for these 4 token observations: current liquidities of 120000, 132000, 120000, 132000 vs previous liquidities of 100000, 110000, 100000, 110000, using weights 1, 2, 1, 2.","exampleUseCases":[{"title":"DeFi pool liquidity trend summary","prompt":"I have 5 liquidity pool snapshots with current and previous liquidity values — can you compute the weighted mean of their relative changes, giving the most recent observations double weight?"},{"title":"Token monitoring dashboard metric","prompt":"For our liquidity dashboard, compute a single weighted-average relative change metric across these 6 token observations: current values 200000, 180000, 210000, 195000, 220000, 205000 and previous values 190000, 175000, 200000, 185000, 210000, 195000, with weights 1, 1, 2, 2, 3, 3."},{"title":"Comparing liquidity depth shifts across pools","prompt":"I'm tracking 3 liquidity pools and want a weighted mean of how much their liquidity changed relative to yesterday — current: 500000, 750000, 300000; previous: 450000, 700000, 320000; weights: 2, 3, 1."}],"resultDescription":"Returns a single bounded weighted result mean representing the weighted average of relative liquidity changes across the supplied observation rows. The output is a deterministic calculation based on the provided current and previous liquidity values and their corresponding weights — not a live scan, safety proof, or trade recommendation.","failureModes":["Fewer than 2 rows supplied — minimum 2 observation rows required","More than 200 rows supplied — maximum is 200 items","Weights array length does not match rows array length","current_liquidity or previous_liquidity is zero or negative — exclusiveMinimum of 0 enforced","Values exceed the maximum allowed (10^16) causing rejection","Payment of 0.01 USDC not processed — 402 Payment Required error","Malformed input schema causes 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a single deterministic weighted summary statistic for relative token liquidity changes across multiple observations. Ideal when you already have current and previous liquidity figures and want a numerically precise aggregation with custom observation weights, without needing a live blockchain scan or risk verdict. Prefer this over simple mean calculations when different observations should carry different importance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:26.648Z","isFirstParty":false,"canonicalSlug":"token-liquidity-relative-change-weighted-result-mean-706f371f"}