Measure the storage-mass cost of tiny Kaspa change outputs
Two transactions with equal input totals, output totals and output counts can have different storage mass. Kaspa's storage-cost formula accounts for individual output values.
Hold the transaction shape constant
Build the two unsigned candidates below with identical input, script types and payload. Both reserve 0.01 KAS as the fee. Run the network-compatible mass calculator using the actual input UTXO. The tiny output increases the reciprocal-value component, so a byte-count estimate misses the difference.
input: 100 KAS
candidate A outputs: 49 KAS + 50.99 KAS
candidate B outputs: 99.9899 KAS + 0.0001 KAS
Evaluate change before signing
Compare calculated mass and fee rate with the target policy before generating signatures. If the wallet changes its coin selection, recalculate using the new input amounts. A lower storage component does not guarantee a lower total payable fee because other mass components and current relay policy also matter.