Maximum transaction weight constraint. Prevents this UTXO from being spent in transactions that exceed a specified weight in weight units (WU). No Tapscript equivalent.
GovernanceInvertible
Ladder Diagram
Fields
Field
Data Type
Size
Side
Description
max_weight
NUMERIC
1-4 B
Conditions
Maximum allowed transaction weight in weight units. Must be > 0. Standard max is 400,000 WU.
Wire Format Breakdown
0x080201NUMERIC · 4BConditions = 9 bytes
0x080200Witness = 4 bytes
Total13 bytes
Evaluation Logic
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
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.