Skip to content
HALOWERK

Blockchain Data

coinwerk / fee gross up

Coinwerk: Find minimum gross transfer covering target net and fixed fee under a ceiling-rounded percentage 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/fee-gross-up

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
net_unitsstringYes
fixed_fee_unitsstringYes
variable_bpsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "net_units",
    "fixed_fee_units",
    "variable_bps"
  ],
  "properties": {
    "net_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "fixed_fee_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "variable_bps": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,3})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "net_units": "990",
  "fixed_fee_units": "0",
  "variable_bps": "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 โ†’