monero-site icon indicating copy to clipboard operation
monero-site copied to clipboard

blocks_to_unlock not listed as output to wallet RPC method get_balance

Open dimalinux opened this issue 2 years ago • 1 comments

The get_balance wallet RPC method has a blocks_to_unlock field (and possibly others) that are not documented here: https://github.com/monero-project/monero-site/blame/28cfcdb38e735f5c35b83c067d8410ff4dc81ad4/resources/developer-guides/wallet-rpc.md#L173-L178

Implementation reference: https://github.com/monero-project/monero/blob/v0.18.1.0/src/wallet/wallet_rpc_server_commands_defs.h#L108-L109

dimalinux avatar Aug 15 '22 03:08 dimalinux

Thanks. There is also a "strict" boolean that is missing. I have traced it back to here: https://github.com/monero-project/monero/blob/master/src/wallet/wallet2.cpp#L5989

i will make a PR to update

plowsof avatar Oct 10 '22 15:10 plowsof