{"uid":"cap_yq2whV5TR0YPn6kp6Sruj","slug":"staking-supplied-rewards-numeric-row-ordering-secondary-measure-d4152f8b","name":"Staking Supplied Rewards — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Staking supplied rewards — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + Secondary-measure weighted mean for supplied staking supplied rewards records (reward_units, staked_units). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-finance-15-121?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","reward_units","staked_units"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"reward_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"staked_units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","reward_units":10,"staked_units":1,"instrument_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","reward_units":20,"staked_units":2,"instrument_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","reward_units":15,"staked_units":3,"instrument_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","reward_units":30,"staked_units":4,"instrument_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["reward_units","staked_units"],"type":"string","default":"reward_units"}}},"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_3Ifmizu6pdDmdxcVZbNyH","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 numeric row ordering and secondary-measure weighted mean analytics on up to 200 staking reward records (reward_units, staked_units) across instrument groups and dates.","exampleAgentPrompt":"I have 4 staking reward records — row-1 on 2026-10-01 with reward_units=10 and staked_units=1 in group-a, row-2 on 2026-10-02 with reward_units=20 and staked_units=2 in group-b, row-3 on 2026-10-03 with reward_units=15 and staked_units=3 in group-a, row-4 on 2026-10-04 with reward_units=30 and staked_units=4 in group-b — can you rank these rows numerically and compute the secondary-measure weighted mean on the reward_units field?","exampleUseCases":[{"title":"Ranking staking rewards by daily output","prompt":"I've got daily staking data for two validator groups over the past week — each row has a date, group name, reward_units, and staked_units. Can you rank the rows numerically by reward_units and give me the weighted mean using staked_units as the secondary measure?"},{"title":"Comparing instrument groups by staked weight","prompt":"I have about 50 rows of staking records across three instrument groups with dates from last quarter. Please order them numerically and compute the weighted mean of staked_units so I can see which group has the heaviest stake-weighted performance."},{"title":"Auditing anomalous reward unit values","prompt":"Here are 120 staking reward records from my validators — each has a row_id, date, instrument_group, reward_units, and staked_units. I want to rank them by reward_units and calculate the secondary-measure weighted mean so I can spot which rows are pulling the average up or down."}],"resultDescription":"Returns two independent analytical reports for the supplied staking data: (1) numeric row ordering — records sorted/ranked by the chosen field (reward_units or staked_units), and (2) a secondary-measure weighted mean — a weighted average of the selected field using the other measure as weights. Both reports are computed locally from the supplied rows without any external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, instrument_group, date, reward_units, or staked_units) — validation error","Date field not matching YYYY-MM-DD format — pattern validation failure","Numeric values outside ±1,000,000,000,000 range — schema rejection","Empty rows array — minItems constraint failure","Payment of 0.01 USDC not received — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need to both rank staking reward records numerically and compute a secondary-measure weighted mean in a single call, specifically for datasets with reward_units and staked_units fields across instrument groups and dates (up to 200 rows). It is ideal for DeFi/staking analytics workflows where you want two complementary statistical views of the same dataset at minimal cost ($0.01 USDC for both reports). Prefer alternatives if you need real-time price lookups, external data enrichment, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:49:34.869Z","isFirstParty":false,"canonicalSlug":"staking-supplied-rewards-numeric-row-ordering-secondary-measure-d4152f8b"}