Block Reference
WEIGHT_LIMIT
Governance Family
TYPE 0x0802 · GOVERNANCE FAMILY

WEIGHT_LIMIT

Maximum transaction weight constraint. Prevents this UTXO from being spent in transactions that exceed a specified weight in weight units (WU). No Tapscript equivalent.

Governance Invertible
WEIGHT_LIMIT tx_weight ≤ max_weight 1 WU = 4B non-witness, 1B witness Structural validation only if no tx context
FieldData TypeSizeSideDescription
max_weightNUMERIC1-4 BConditionsMaximum allowed transaction weight in weight units. Must be > 0. Standard max is 400,000 WU.
0x0802 0 1 NUMERIC · 4B Conditions = 9 bytes
0x0802 0 0 Witness = 4 bytes
Total 13 bytes
1.Read max_weight from NUMERIC field. If missing → ERROR
2.If max_weight ≤ 0 → ERROR
3.If no transaction context (structural validation) → SATISFIED
4.Compute GetTransactionWeight(tx). If ≤ max_weight → SATISFIED
5.Weight exceeds limit → UNSATISFIED
{
  "type": "WEIGHT_LIMIT",
  "inverted": false,
  "fields": [
    { "type": "NUMERIC", "value": 100000 }
  ]
}
Anti-Batching Constraint
Force this UTXO to be spent in small, focused transactions. Prevents inclusion in large batch operations that could obscure the spend among hundreds of outputs.
Fee Predictability
By capping transaction weight, the maximum fee for spending this UTXO becomes bounded. Combined with RELATIVE_VALUE, this creates tight fee guarantees.
← EPOCH_GATE INPUT_COUNT →