Skip to content
HALOWERK

Blockchain Data

coinwerk / quote cross rate

Coinwerk: Convert source units through two caller-supplied rational exchange legs, flooring each leg independently. Uses supplied records only. USDC amounts are integer micro-USDC strings; rates labeled bps are basis points.

POST https://kette.halowerk.com/v1/coinwerk/quote-cross-rate

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
source_unitsstringYes
leg1_numstringYes
leg1_denstringYes
leg2_numstringYes
leg2_denstringYes
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "source_units",
    "leg1_num",
    "leg1_den",
    "leg2_num",
    "leg2_den"
  ],
  "properties": {
    "source_units": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "leg1_num": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "leg1_den": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,77}(?![\\s\\S])",
      "maxLength": 79
    },
    "leg2_num": {
      "type": "string",
      "pattern": "^(0|[1-9][0-9]{0,77})(?![\\s\\S])",
      "maxLength": 79
    },
    "leg2_den": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,77}(?![\\s\\S])",
      "maxLength": 79
    }
  }
}

Open original schema

Published input example

{
  "source_units": "101",
  "leg1_num": "3",
  "leg1_den": "2",
  "leg2_num": "2",
  "leg2_den": "3"
}

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