Skip to content
HALOWERK

Blockchain Data

coinwerk / payout lot rounding

Coinwerk: Round recipient amounts down to settlement lot size and report the total retained dust. 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-lot-rounding

Inputs

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

{
  "lot_units": "10",
  "amounts_units": [
    "17",
    "22",
    "30"
  ]
}

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