ripple-lib-extensions
ripple-lib-extensions copied to clipboard
DeliveredAmount is what is received, yet elsewhere the senders balance changes are summed
Sending $1 bitstamp, such that the recipient (Destination) gets $1, costs $1.002
https://github.com/ripple/ripple-lib-extensions/blob/8ef8c247e1d78edd1225da02ed79a31d3732d63f/src/paymentamount.js#L27
And of course with cross currency payments, you can send currency A from the source, and the recipient will be have B delivered.