Skip to content
HALOWERK

Blockchain Data

coinwerk / ledger clearing account

Coinwerk: Bridge a statement balance to book balance using deposits in transit and outstanding disbursements. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/ledger-clearing-account

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
statement_unitsstringYes
deposits_unitsarrayYes
outstanding_unitsarrayYes
book_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "statement_units",
    "deposits_units",
    "outstanding_units",
    "book_units"
  ],
  "properties": {
    "statement_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "deposits_units": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    },
    "outstanding_units": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "string",
        "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
        "maxLength": 79
      }
    },
    "book_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "statement_units": "1000",
  "deposits_units": [
    "75"
  ],
  "outstanding_units": [
    "20",
    "30"
  ],
  "book_units": "1030"
}

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