Skip to content
HALOWERK

Blockchain Data

coinwerk / escrow stream cancellation

Coinwerk: Calculate the unused funded balance after capped service accrual at cancellation. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/escrow-stream-cancellation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
funded_unitsstringYes
elapsed_secondsstringYes
units_per_secondstringYes
contractual_cap_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "funded_units",
    "elapsed_seconds",
    "units_per_second",
    "contractual_cap_units"
  ],
  "properties": {
    "funded_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "elapsed_seconds": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "units_per_second": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "contractual_cap_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "funded_units": "1000",
  "elapsed_seconds": "12",
  "units_per_second": "35",
  "contractual_cap_units": "500"
}

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