You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getBalanceChanges() method of xrpl.js makes it much easier for beginners to reliably get information about how a transaction affected their balances of XRP and tokens. Doing it "by hand" is error-prone and confusing since it involves parsing a bunch of metadata, which has some sneaky edge cases, and RippleState nodes in particular, where the sign of the balance depends on which accounts are the high/low nodes.
It would be great to have a comparable function in xrpl-py.
It would also be nice to do getBalances() (which calls account_info and account_lines and does a little processing on the results) as well.
The text was updated successfully, but these errors were encountered:
The
getBalanceChanges()
method of xrpl.js makes it much easier for beginners to reliably get information about how a transaction affected their balances of XRP and tokens. Doing it "by hand" is error-prone and confusing since it involves parsing a bunch of metadata, which has some sneaky edge cases, andRippleState
nodes in particular, where the sign of the balance depends on which accounts are the high/low nodes.It would be great to have a comparable function in xrpl-py.
It would also be nice to do
getBalances()
(which calls account_info and account_lines and does a little processing on the results) as well.The text was updated successfully, but these errors were encountered: