{
  "x402Version": 2,
  "id": 15217,
  "slug": "15217",
  "resource": "https://gov.halowerk.com/v1/vote-buying-detect",
  "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "flag_threshold": 0.7,
            "observations": [
              {
                "associated_transfer_amount": 12,
                "choice": "for",
                "repeated_counterparty_count": 0,
                "transfer_age_hours": 240,
                "voter_id": "voter-1"
              },
              {
                "associated_transfer_amount": 10,
                "choice": "against",
                "repeated_counterparty_count": 1,
                "transfer_age_hours": 180,
                "voter_id": "voter-2"
              },
              {
                "associated_transfer_amount": 900,
                "choice": "for",
                "repeated_counterparty_count": 7,
                "transfer_age_hours": 2,
                "voter_id": "voter-3"
              }
            ]
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "flag_threshold": {
                    "description": "Risk-score threshold used only for triage.",
                    "maximum": 1,
                    "minimum": 0,
                    "type": "number"
                  },
                  "observations": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "associated_transfer_amount": {
                          "description": "Caller-linked transfer amount in one consistent unit.",
                          "maximum": 1000000000000000,
                          "minimum": 0,
                          "type": "number"
                        },
                        "choice": {
                          "enum": [
                            "for",
                            "against",
                            "abstain"
                          ],
                          "type": "string"
                        },
                        "repeated_counterparty_count": {
                          "description": "Prior linked transfers with the same counterparty.",
                          "maximum": 100000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "transfer_age_hours": {
                          "description": "Hours between transfer and vote.",
                          "maximum": 8760,
                          "minimum": 0,
                          "type": "number"
                        },
                        "voter_id": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "voter_id",
                        "choice",
                        "associated_transfer_amount",
                        "transfer_age_hours",
                        "repeated_counterparty_count"
                      ],
                      "type": "object"
                    },
                    "maxItems": 10000,
                    "minItems": 3,
                    "type": "array"
                  }
                },
                "required": [
                  "observations"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "gov.halowerk.com",
  "lastUpdated": "2026-09-01T07:47:35.893Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-01T07:47:35.461Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "gov.halowerk.com",
    "manifest_name": "gov.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}