Calculate the 90 percent recipient share of an inclusive send
Example fee law
Under the established 10% inclusive wallet fee law, a sender total of 25,000 sat corresponds to a recipient amount of 22,500 sat and a 2,500 sat budget for miner fee plus treasury remainder. The miner fee is paid from that budget first.
total_sats = 25_000
recipient = total_sats * 90 // 100
fee_budget = total_sats - recipient
print(recipient, fee_budget) # 22500 2500
For 13,000 sat, the corresponding figures are 11,700 sat and 1,300 sat. This illustration does not establish whether the transaction is valid, whether change/treasury outputs pass dust policy, or whether the miner fee fits.
Authority: The Engine must execute the verified signed law embedded at wallet birth. An example calculation must never override that law.
Related ASK questions
Does the recipient receive the entire SEND total in WAB Engine?
https://thamer.org/ask/ask-wab-engine-recipient-versus-send-total
How much does the recipient receive from a 13,000 sat SEND?
https://thamer.org/ask/ask-wab-engine-13000-sat-recipient-share
How much does the recipient receive from a 25,000 sat SEND?
https://thamer.org/ask/ask-wab-engine-25000-sat-recipient-share
