Skip to content
HALOWERK

Blockchain Data

coinwerk / billing rollover cap

Coinwerk: Compute prepaid units carried forward under a percentage and an absolute rollover cap. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/billing-rollover-cap

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
unused_unitsstringYes
rollover_bpsstringYes
cap_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "unused_units",
    "rollover_bps",
    "cap_units"
  ],
  "properties": {
    "unused_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "rollover_bps": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,3}|10000)(?![\\s\\S])",
      "maxLength": 79
    },
    "cap_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "unused_units": "501",
  "rollover_bps": "5000",
  "cap_units": "200"
}

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