Skip to content
HALOWERK

Blockchain Data

coinwerk / reserve sweep lots

Coinwerk: Find the transferable amount above the target treasury balance in whole sweep lots. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/reserve-sweep-lots

Inputs

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

Open original schema

Published input example

{
  "cash_units": "915",
  "target_units": "500",
  "sweep_lot_units": "100"
}

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