Skip to content
HALOWERK

Blockchain Data

bitcoin wire fee from prevouts

Bitcoin fee reconciliation subtracts decoded outputs from supplied previous-output values and reports the fee per virtual byte. Use it when an agent needs checking the fee of a supplied non-coinbase transaction.

POST https://kette.halowerk.com/v1/bitcoin-wire-fee-from-prevouts

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
hexstringYes
prevout_satsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "hex": {
      "type": "string",
      "maxLength": 48002,
      "minLength": 1
    },
    "prevout_sats": {
      "type": "array",
      "minItems": 1,
      "maxItems": 600,
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2100000000000000
      }
    }
  },
  "required": [
    "hex",
    "prevout_sats"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "hex": "02000000000101d20978463906ba4ff5e7192494b88dd5eb0de85d900ab253af909106faa22cc5010000000004000000014777ff000000000016001446c29eabe8208a33aa1023c741fa79aa92e881ff0347304402207d7ca96134f2bcfdd6b536536fdd39ad17793632016936f777ebb32c22943fda02206014d2fb8a6aa58279797f861042ba604ebd2f8f61e5bddbd9d3be5a245047b201004b632103eeaeba7ce5dc2470221e9517fb498e8d6bd4e73b85b8be655196972eb9ccd5566754b2752103a40b74d43df244799d041f32ce1ad515a6cd99501701540e38750d883ae21d3a68ac00000000",
  "prevout_sats": [
    16745155
  ]
}

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