Skip to content
HALOWERK

Blockchain Data

coinwerk / escrow linear claim

Coinwerk: Calculate claimable vested units using elapsed time capped at duration and deducting prior claims. 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-linear-claim

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
grant_unitsstringYes
elapsed_secondsstringYes
duration_secondsstringYes
claimed_unitsstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "grant_units",
    "elapsed_seconds",
    "duration_seconds",
    "claimed_units"
  ],
  "properties": {
    "grant_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
    },
    "duration_seconds": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,77}(?![\\s\\S])",
      "maxLength": 79
    },
    "claimed_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "grant_units": "1000",
  "elapsed_seconds": "3",
  "duration_seconds": "8",
  "claimed_units": "100"
}

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