{"uid":"cap_LG2WSvWincGyI7qoYWSo7","slug":"reported-token-treasury-share-weighted-result-mean-3e819d49","name":"Reported Token Treasury Share — Weighted Result Mean","description":"Reported token treasury share — Weighted result mean: Weighted result mean for Reported token treasury share. 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-treasury-share-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["treasury_tokens","total_tokens"],"properties":{"total_tokens":{"type":"number","default":2000000,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0},"treasury_tokens":{"type":"number","default":200000,"maximum":10000000000000000,"minimum":0}},"additionalProperties":false},"default":[{"total_tokens":2000000,"treasury_tokens":200000},{"total_tokens":2200000,"treasury_tokens":220000.00000000003},{"total_tokens":2000000,"treasury_tokens":200000},{"total_tokens":2200000,"treasury_tokens":220000.00000000003}],"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_OP18KtDeDoqgVuVD6MjIt","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 weighted mean of token treasury share ratios (treasury_tokens / total_tokens) across multiple observations using caller-supplied weights.","exampleAgentPrompt":"I have four token snapshots — (2,000,000 total / 200,000 treasury), (2,200,000 / 220,000), (2,000,000 / 200,000), and (2,200,000 / 220,000) — with weights 1, 2, 1, 2. Can you compute the weighted mean treasury share across those observations?","exampleUseCases":[{"title":"Token treasury concentration audit","prompt":"I have weekly snapshots of our token supply: total tokens were 5M, 5.2M, 5.5M and treasury tokens were 500K, 520K, 550K. Weight the first week at 1, the second at 2, and the third at 3. What is the weighted mean treasury share across those weeks?"},{"title":"Multi-round fundraise treasury tracking","prompt":"After three funding rounds our treasury data is: round 1 had 10M total and 3M treasury tokens, round 2 had 12M total and 3.2M treasury, round 3 had 15M total and 3.8M treasury. Weight them equally. Give me the weighted mean treasury fraction."},{"title":"Governance proposal treasury benchmark","prompt":"For our governance vote we need a benchmark: five observer nodes each reported total tokens of 8M, 8.1M, 7.9M, 8.2M, 8M and treasury tokens of 1.2M, 1.25M, 1.18M, 1.3M, 1.22M, with trust weights of 3, 5, 2, 5, 4. Compute the weighted mean treasury share for us."}],"resultDescription":"A single weighted mean value representing the average token treasury share (treasury_tokens / total_tokens ratio) across the supplied observations, calculated deterministically using the provided weights. The result is a bounded statistical summary, not a live scan or safety signal.","failureModes":["Fewer than 2 rows provided — minimum array length violation","rows or weights arrays exceed 200 items — maxItems violation","total_tokens value of 0 or below — exclusiveMinimum violation causes rejection","weights array length does not match rows array length — mismatched inputs","treasury_tokens exceeds total_tokens — logically inconsistent input (not necessarily caught by schema)","Non-numeric values in rows or weights fields — type validation error","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, weighted aggregate of token treasury share ratios across multiple time periods or observer sources and want a single mean statistic rather than a distribution or histogram. Prefer it over raw averaging when observations have unequal reliability or importance. Use the sibling 'distribution summary' or 'histogram' endpoints when you need spread statistics rather than a single mean.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:19.959Z","isFirstParty":false,"canonicalSlug":"reported-token-treasury-share-weighted-result-mean-3e819d49"}