Block Reference
HYSTERESIS_FEE
PLC Family
TYPE 0x0601 · PLC FAMILY

HYSTERESIS_FEE

Fee rate band check. SATISFIED if the transaction fee rate (sat/vB) falls within a configurable [low, high] band. Prevents fee overpayment and enforces economic constraints on spending. No Tapscript equivalent exists.

PLC Invertible
HYSTERESIS_FEE low ≤ fee_rate ≤ high < low > high fee_rate = (sum(inputs) - sum(outputs)) / vsize
FieldData TypeSizeSideDescription
high_sat_vbNUMERIC1-4 BConditionsUpper bound of the fee rate band (sat/vB)
low_sat_vbNUMERIC1-4 BConditionsLower bound of the fee rate band (sat/vB)

No witness fields required. Evaluation uses the transaction context (inputs, outputs, vsize) to compute fee rate.

0x0601 0 2 NUMERIC · 3B NUMERIC · 3B Conditions = 14 bytes
0x0601 0 0 Witness = 4 bytes (empty block)
Total 18 bytes
1.Read high_sat_vb and low_sat_vb from NUMERIC fields
2.If no transaction context available → ERROR (fail-safe)
3.Compute fee = sum(inputs) - sum(outputs)
4.Compute fee_rate = fee / vsize
5.If low_sat_vb ≤ fee_rate ≤ high_sat_vb → SATISFIED
6.Otherwise → UNSATISFIED (fee rate outside band)
ConditionResult
Fewer than 2 NUMERIC fieldsERROR
No transaction context (fail-safe)ERROR
fee_rate < low_sat_vbUNSATISFIED
fee_rate > high_sat_vbUNSATISFIED
low_sat_vb ≤ fee_rate ≤ high_sat_vbSATISFIED
Conditions (fee band 5-50 sat/vB)
{
  "type": "HYSTERESIS_FEE",
  "inverted": false,
  "fields": [
    { "type": "NUMERIC", "value": 50 },
    { "type": "NUMERIC", "value": 5 }
  ]
}

This creates a fee rate band of 5-50 sat/vB. Transactions with fee rates outside this range will fail the block check.

Fee Overpay Prevention
Covenant-locked UTXOs enforce a maximum fee rate, preventing accidental or malicious fee overpayment when spending from shared or automated wallets.
Fee Band Enforcement
Institutional treasury outputs can only be spent within a reasonable fee band, ensuring transactions are neither too cheap (risk of non-confirmation) nor too expensive.
Economic Constraint on Spending
Combined with other PLC blocks, fee hysteresis creates economic guardrails that prevent value extraction through inflated fees in automated covenant chains.
← ANCHOR_ORACLE HYSTERESIS_VALUE →