Skip to content
HALOWERK

Blockchain Data

coinwerk / fee capped quote

Coinwerk: Price a variable transfer fee between a contractual minimum and maximum. 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-capped-quote

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
principal_unitsstringYes
rate_bpsstringYes
min_fee_unitsstringYes
max_fee_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "principal_units",
    "rate_bps",
    "min_fee_units",
    "max_fee_units"
  ],
  "properties": {
    "principal_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "rate_bps": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,3}|10000)(?![\\s\\S])",
      "maxLength": 79
    },
    "min_fee_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "max_fee_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "principal_units": "20000",
  "rate_bps": "100",
  "min_fee_units": "50",
  "max_fee_units": "150"
}

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