Skip to content
HALOWERK

Blockchain Data

coinwerk / billing metered blocks

Coinwerk: Apply prepaid included usage, then bill each started excess usage block. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/billing-metered-blocks

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
usagestringYes
includedstringYes
block_sizestringYes
block_price_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "usage",
    "included",
    "block_size",
    "block_price_units"
  ],
  "properties": {
    "usage": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "included": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "block_size": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,77}(?![\\s\\S])",
      "maxLength": 79
    },
    "block_price_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "usage": "143",
  "included": "100",
  "block_size": "10",
  "block_price_units": "5"
}

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