monero-site
monero-site copied to clipboard
devguides: add blocks_to_unlock to get_balance wallet rpc
closes #2022 Definition of "strict" was found here: ( input on a better description would be appreciated hmm ) https://github.com/monero-project/monero/blob/master/src/wallet/wallet2.cpp#L5989
here is the raw output from a get_balance call:
{'balance': 14538245779125669,
'blocks_to_unlock': 0,
'multisig_import_needed': False,
'per_subaddress': [{'account_index': 0,
'address': '43H2k6iDgyfNo4HzgQKF8ABALWGpRz9Ez6uexXLGFyuC32SevoaGUiKWbebSkqy5EzdkviwJ4NQwDHkxVxHceUtLBzBjoTV',
'address_index': 0,
'balance': 828178020484390,
'blocks_to_unlock': 0,
'label': 'hell123o',
'num_unspent_outputs': 31,
'time_to_unlock': 0,
'unlocked_balance': 828178020484390},
{'account_index': 0,
'address': '84HcGmasjKgRTQV5V3pnUFQzJe5sS5z8t8jk4EbQAsJaiy3Xws8ZP96fhn3DwTYvAqLygU44yszBqX2Mnq8PHRPZRWNqYGn',
'address_index': 66,
'balance': 161998903353982,
'blocks_to_unlock': 0,
'label': 'xiphon part-time coding (3 months)',
'num_unspent_outputs': 16,
'time_to_unlock': 0,
'unlocked_balance': 161998903353982}],
'time_to_unlock': 0,
'unlocked_balance': 14538245779125669}
"all_accounts" also added to inputs: https://github.com/monero-project/monero/blob/v0.18.1.0/src/wallet/wallet_rpc_server_commands_defs.h#L60
Deploy Preview for barolo-time-757cf9 ready!
Built without sensitive environment variables
Name | Link |
---|---|
Latest commit | 4443083274e8fd7bd7571136f2fc6f49f1b826b3 |
Latest deploy log | https://app.netlify.com/sites/barolo-time-757cf9/deploys/6344a664bb10d20008352ed0 |
Deploy Preview | https://deploy-preview-2056--barolo-time-757cf9.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.