Skip to content
HALOWERK

Blockchain Data

coinwerk / escrow stream exhaustion

Coinwerk: Calculate seconds until a continuously debited escrow can no longer fund its next full second. 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-exhaustion

Inputs

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

Open original schema

Published input example

{
  "funded_units": "1000",
  "consumed_units": "90",
  "units_per_second": "13"
}

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