Skip to content

feat: support transfer tx fee deduction from amount#89

Open
jairajdev wants to merge 2 commits into
update-toll-required-chat-historyfrom
recipient-pays-transfer-tx-fee
Open

feat: support transfer tx fee deduction from amount#89
jairajdev wants to merge 2 commits into
update-toll-required-chat-historyfrom
recipient-pays-transfer-tx-fee

Conversation

@jairajdev
Copy link
Copy Markdown
Contributor

@jairajdev jairajdev commented May 8, 2026

  • add deductTxFeeFromAmount as an optional transfer payload field

  • gate the behavior behind the 2.4.9 supportDeductTxFeeFromAmount version flag

  • deduct successful transfer tx fees from the transfer amount when opted in

  • record deductedFee in receipts only when the transfer amount paid the tx fee

  • document that receipt amount reflects the net amount received when fee is deducted

  • add a commented client transfer option for deductTxFeeFromAmount

- add recipientPaysTxFee as an optional transfer payload field

- gate recipient-paid fee behavior behind the 2.4.9 supportRecipientPaysTxFee version flag

- deduct successful transfer tx fees from the recipient when opted in

- keep failed transfer tx fees charged to the sender
@jairajdev jairajdev changed the title feat: support recipient-paid transfer tx fee feat: support transfer tx fee deduction from amount May 13, 2026
@jairajdev jairajdev force-pushed the recipient-pays-transfer-tx-fee branch from 12c6384 to 9790466 Compare May 13, 2026 06:31
- add deductTxFeeFromAmount as an optional transfer payload field

- gate the behavior behind the 2.4.9 supportDeductTxFeeFromAmount version flag

- deduct successful transfer tx fees from the transfer amount when opted in

- document that receipt amount reflects the net amount received when fee is deducted

- add a commented client transfer option for deductTxFeeFromAmount
@jairajdev jairajdev force-pushed the recipient-pays-transfer-tx-fee branch from 9790466 to 47502fc Compare May 13, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant