Skip to content
HALOWERK

Blockchain Data

coinwerk / payout fee apportionment

Coinwerk: Allocate a batch fee proportionally by payout size, returning each net payout and conserving the complete fee. 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-fee-apportionment

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
fee_unitsstringYes
gross_unitsarrayYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "fee_units",
    "gross_units"
  ],
  "properties": {
    "fee_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "gross_units": {
      "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

{
  "fee_units": "5",
  "gross_units": [
    "10",
    "20"
  ]
}

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 โ†’