A Payjoin receiver can add bitcoin inputs to a payment, but the sender’s permission to help pay the extra mining fee has a defined limit. BIP78 ties that permission to one selected sender output and a maximum contribution in satoshis. Checking the total fee alone misses the separate question of how much the receiver deducted from the sender.
| What you need to know |
|---|
| BIP78 lets a receiver propose a payment with additional bitcoin inputs. |
| A sender can identify an output from which an extra mining-fee contribution may be deducted. |
| The sender also specifies the maximum additional contribution in satoshis. |
| The sender must check the proposal before signing its own inputs. |
In the BIP78 protocol, the sender provides an original partially signed transaction and the receiver returns a proposal. The receiver contributes signed inputs of its own. That changes the transaction the sender is asked to approve, so the original payment amount and the new fee allocation need separate checks.
Read the permission as an amount and a location
The two optional parameters work together. One identifies the sender’s output that may be reduced to cover the extra fee; the other limits that reduction. BIP78 says both must be specified and valid before the receiver can reduce an output belonging to the sender. A valid amount without a valid selected output does not grant a general right to reduce the sender’s other outputs.
For example, suppose a sender permits a contribution of at most 300 satoshis from a particular change output. A proposal that reduces that output by 500 satoshis exceeds that amount even if the transaction’s overall mining fee appears reasonable. These are invented figures illustrating the rule, not a measured wallet quote. The check compares the selected original output with its proposed replacement rather than judging only the final fee.
There are two further ceilings. The sender’s proposal checklist first limits the contribution to the increase in the transaction’s absolute fee. It also applies a formula: the original fee rate multiplied by the virtual size of the sender’s input type and the number of added inputs. The stated maximum therefore is not an allowance that a receiver can necessarily consume in full. All three limits apply to the same contribution.
This distinction matters because a receiver adding inputs increases transaction weight. If the absolute fee stayed unchanged, the fee per unit of weight would fall. BIP78’s fee-output discussion explains why a sender might contribute extra to preserve a chosen fee rate. That purpose does not authorize using the contribution to pay unrelated outputs.
Keep the payment check alongside the fee check
The sender’s checklist also requires the proposal’s absolute fee to be at least the original fee and checks the treatment of sender outputs and receiver inputs. Payment-output substitution has its own rules. An interface showing a plausible total fee cannot establish that these other conditions passed, and a successful signature is not a report about the wallet’s review process.
For someone evaluating a Payjoin wallet, the practical question is which limits the software sets and enforces before it asks for approval: the permitted sender output, the satoshi cap, the original fee rate and the input-size rule. This article compares the BIP78 rules; it does not test an implementation, recommend a current fee rate or certify that a named payment meets them.






