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

Stake Power per Epoch per Stake Address(es). #308

Open
matiwinnetou opened this issue Jun 21, 2023 · 1 comment
Open

Stake Power per Epoch per Stake Address(es). #308

matiwinnetou opened this issue Jun 21, 2023 · 1 comment

Comments

@matiwinnetou
Copy link

Blockfrost gives us ability to read stake power for a given pool per given epoch but... it returns all addresses in a given epoch. It would be nice if one could narrow this down to one stake address or a given list of stake addresses. Simply the list is too big and in many cases use cases are interested in the subset of stake addresses. I would keep the existing endpoint but also add a new one.

As a user I would like to have a blockfrost endpint where I specify which stake addresses I want to see the balance in the given epoch, either one or multiple.

...get_stake_power?stake_address=1&stake_address=2

PS
Endpoint name is silly, it is just an illustration.

@matiwinnetou matiwinnetou changed the title Stake Power per Epoch per Stake Address Stake Power per Epoch per Stake Address(es). Jun 21, 2023
@mmahut
Copy link
Member

mmahut commented Nov 1, 2023

As the Blockfrost endpoints are build for cachability, any custom processing on our backends compromises future performance.

However, you might be looking to use the /accounts endpoint directly, if you know the list of stake addresses instead picking them from a stake pool list.

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

2 participants