xrpl.js
xrpl.js copied to clipboard
Method to retrieve account reserves
Currently the method to retrieve the XRP balance for an account retrieves the XRP balance including reserves.
I suggest to add a method to retrieve the available XRP balance excluding reserves or a method to retrieve the account's reserves.
reserve = reserve_base_xrp + reserve_inc_xrp * OwnerCount
Related
- https://github.com/XRPLF/xrpl-dev-portal/issues/1709
Do you see this as a utility that is passed server_info values and the account_info response and it calculates it or something more robust?
I assumed that it would be calculated from the server_info and account_info results, but if there is a more robust one, that is fine too.