Skip to content
HALOWERK

Blockchain Data

pair swap exact input raw quote

Token swap quote returns output raw units for an exact input on a canonical Ethereum V2 pair. Use it when an agent needs a reserve-based quote in token order.

POST https://kette.halowerk.com/v1/pair-swap-exact-input-raw-quote

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
addressstringYes
amountstringYes
sideintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
    },
    "amount": {
      "type": "string",
      "pattern": "^[1-9][0-9]{0,32}$"
    },
    "side": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1
    }
  },
  "required": [
    "address",
    "amount",
    "side"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "address": "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc",
  "amount": "1000000",
  "side": 0
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →