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

API : get multiple MNs info based on protxhash #9

Open
dafdafdafdaf opened this issue Jan 6, 2020 · 0 comments
Open

API : get multiple MNs info based on protxhash #9

dafdafdafdaf opened this issue Jan 6, 2020 · 0 comments

Comments

@dafdafdafdaf
Copy link

dafdafdafdaf commented Jan 6, 2020

Currently, through the API, we can get a bunch of info about multiple MNs using a single URL based on pubkeys, for instance:
https://www.dashninja.pl/api/masternodes?testnet=0&portcheck=1&pubkeys=[PUBKEY1,PUBKEY2,PUBKEY3,…,…,…]

But now the whole Dash network is DIP3 compliant. It would be very useful to get the same multiple MNs info based on protxhash, using an URL that would look like this:
https://www.dashninja.pl/api/masternodes?testnet=0&portcheck=1&protxhash=[HASH1,HASH2,HASH3,…,…,…]

The problem with the current pubkey URL is that multiple DIP3 masternodes may share the same payout address (i.e. pubkey). So they won't be retrieved by the current API.

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

No branches or pull requests

1 participant