Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: wallet RPC: get_address_index to retrieve the index of an address #4169

Closed
artyomsol opened this issue Jul 23, 2018 · 2 comments
Labels

Comments

@artyomsol
Copy link
Contributor

As soon as main part of RPC methods accepts accont/subaddress index as a parameter It would be convenient to have a method to retrieve the subaddress index (major and minor) having the address provided. Only if the address belongs to the one of wallet's accounts obviously.
It should be a method reversal to the get_address.

Inputs

  • address - string; The 95-character hex address string.

Outputs

  • subaddr_index - (Optional) subaddress index if found:
    • major - unsigned int; Account index for the subaddress.
    • minor - unsigned int; Index of the subaddress in the account.
@stoffu
Copy link
Contributor

stoffu commented Jul 23, 2018

#4170

@moneromooo-monero
Copy link
Collaborator

+resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants