Skip to content
HALOWERK

Blockchain Data

coinwerk / invoice minimum remittance

Coinwerk: Find the smallest remittance that leaves at most the accepted residual balance. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/invoice-minimum-remittance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
open_unitsstringYes
tolerated_residual_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "open_units",
    "tolerated_residual_units"
  ],
  "properties": {
    "open_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "tolerated_residual_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "open_units": "75",
  "tolerated_residual_units": "5"
}

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