Skip to content
HALOWERK

Blockchain Data

coinwerk / payout weighted split

Coinwerk: Distribute an integer USDC pool by weights using largest remainders. Ties follow input order. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/payout-weighted-split

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pool_unitsstringYes
weightsarrayYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "pool_units",
    "weights"
  ],
  "properties": {
    "pool_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "weights": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    }
  }
}

Open original schema

Published input example

{
  "pool_units": "10",
  "weights": [
    "1",
    "1",
    "1"
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’