{"uid":"cap_p0ZL2Igw6HJmmePgP4z4u","slug":"halowerk-vote-buying-risk-scorer-4ccb8da1","name":"Halowerk Vote-Buying Risk Scorer","description":"Scores caller-supplied vote/transfer observations using cohort-relative transfer size, transfer recency, and repeated-counterparty count. The output is an investigative triage heuristic, not proof of vote buying, identity linkage, or wrongdoing.","url":"https://gov.halowerk.com/v1/vote-buying-detect","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"observations":{"type":"array","items":{"type":"object","required":["voter_id","choice","associated_transfer_amount","transfer_age_hours","repeated_counterparty_count"],"properties":{"choice":{"enum":["for","against","abstain"],"type":"string"},"voter_id":{"type":"string","maxLength":128,"minLength":1},"transfer_age_hours":{"type":"number","maximum":8760,"minimum":0,"description":"Hours between transfer and vote."},"associated_transfer_amount":{"type":"number","maximum":1000000000000000,"minimum":0,"description":"Caller-linked transfer amount in one consistent unit."},"repeated_counterparty_count":{"type":"integer","maximum":100000,"minimum":0,"description":"Prior linked transfers with the same counterparty."}},"additionalProperties":false},"maxItems":10000,"minItems":3},"flag_threshold":{"type":"number","maximum":1,"minimum":0,"description":"Risk-score threshold used only for triage."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GUh8IJsXxiTAGjfsA7q1E","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores voter observations using cohort-relative transfer size, recency, and repeated-counterparty count to produce an investigative triage heuristic for potential vote-buying patterns.","exampleAgentPrompt":"Score these 50 voter observations for vote-buying risk — each has a voter ID, their 'for'/'against'/'abstain' choice, the associated transfer amount, how many hours before the vote the transfer happened, and how many times they've transacted with the same counterparty before. Flag anything above a 0.7 risk threshold.","exampleUseCases":[{"title":"DAO proposal bribery triage","prompt":"I have a list of 200 voters on our latest governance proposal. Each record has their voter ID, their vote choice, the USDC amount transferred to them in the 48 hours before voting, how old that transfer was, and how many prior transactions they had with the sender. Can you score each one for vote-buying risk and flag anyone above a 0.65 threshold?"},{"title":"Post-vote forensic review","prompt":"We just finished a contentious governance vote and want to check for suspicious patterns. I've got 500 voter observations with voter IDs, their for/against/abstain choices, linked transfer amounts, transfer ages in hours, and repeated counterparty counts. Run them through vote-buying detection and tell me which ones scored highest."},{"title":"Pre-vote governance integrity check","prompt":"Before we finalize this protocol upgrade vote, I want to triage our 300 participating wallets for potential vote-buying signals. Each entry has a voter ID, vote direction, associated transfer size, how recently the transfer happened in hours, and repeated-counterparty count. Flag anything with a risk score above 0.8."}],"resultDescription":"Returns a risk score for each voter observation, computed from cohort-relative transfer size, transfer recency, and repeated-counterparty count. Includes a triage flag for observations exceeding the supplied threshold. The output is explicitly a heuristic for investigative prioritization, not a determination of wrongdoing or identity linkage.","failureModes":["Fewer than 3 observations supplied — minimum batch size not met","voter_id exceeds 128 characters — validation error","transfer_age_hours outside 0–8760 range — out of bounds error","associated_transfer_amount is negative or exceeds maximum — validation error","repeated_counterparty_count is not an integer — type error","flag_threshold outside 0–1 range — validation error","More than 10,000 observations in a single request — batch size exceeded","Payment not included or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to triage governance votes for vote-buying patterns using caller-supplied on-chain or off-chain transfer observations. Prefer it over generic anomaly detectors when your data includes the specific feature set of transfer amount, transfer recency, and repeated-counterparty count relative to voting events. It is purpose-built for governance fraud investigation workflows rather than general financial fraud or identity verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:58.999Z","isFirstParty":false}