3

I am using the Monero wallet RPC method get_balance to get my wallet balance. One of the inputs is account_index, which is described as:

account_index - unsigned int; Return balance for this account.

What is account_index and how do I get it?

1

Every wallet has a main account at index 0. If you created other accounts in the wallet, they also have an index, as shown in the wallet. Using get_balance, you can even omit the field account_index as it will default to the main account (index 0).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.